Contents

Views 7486 Comment 0
Atachment
Attachment '1'
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
두가지 이중 연결 리스트.. (double linked list)

# 파일명 : list1.c
더블 연결 리스트 (추가, 삭제, 탐색)
typedef struct _node{
    int tag;
    int x;
    int y;
    struct _node *prev;
    struct _node *next;
}* node;

node head,tail;
int list_cnt;

void add_list(node ptr);
void make_node(int tag, int x, int y);
node find_ptr(int idx);
void del_all_list();


# 파일명 : list2.c
인덱스가 여러 개(배열)인 더블 연결 리스트 (추가, 삭제, 탐색)
#define MAXY 1024
typedef struct _node{
    int ye;    // y end
    float xs;    // x start
    float sp;    // slope
    struct _node *prev;
    struct _node *next;
}* node;
node head[MAXY];
node head[MAXY];

void add_list(int idx, node ptr);
void make_node(int idx, int ye, float xs, float sp);
node find_ptr(int idx, int idx2);
void del_list(int idx);
void del_all_list();



?

  1. [js] get방식, url이후 모두 그대로 읽어오기..

  2. [web] URL 인코딩 방법.. 테이블.. ㅋㅋ

  3. [js] 툴팁.. 좋은거.. (tooltip)

  4. [js] 스타크래프트(starcraft)..

  5. [php] 탐색기와 같은 다이나믹 트리(xml/xsl 이용)

  6. [c] 네트워크 보안 프로그래밍 과제 (Server,Agent,Client)

  7. [switch] 시스코 카탈리스트(Cisco Catalyst) 2950 미러링 설정

  8. [c] 시스템 보안 과제.. 시간(amc time) 변경

  9. [c] 암호 알고리즘 소스..

  10. [c] 지폰(gphone) 소스.. 수정(암호화)

  11. [c] 파일(int fd)에서 개행문자 단위로 읽기 by 후리자

  12. [mysql] 양력, 음력 DB데이터

Board Pagination Prev 1 ... 14 15 16 17 18 19 20 21 22 23 ... 71 Next
/ 71