Contents

Views 7480 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();



?

List of Articles
No. Category Subject Author Date Views
693 Develop [js] JSON 컨트롤.. 재귀호출로 값 출력하기 hooni 2013.04.23 28670
692 Develop [js] jQuery, Javascript 모바일(스마트폰) 판단하는 방법 hooni 2015.04.26 2561
691 Develop [js] jQuery 코드 작성시 편리한 HTML 템플릿 hooni 2013.12.17 33114
690 Develop [js] jQuery 치트 시트 hooni 2013.12.18 36299
689 Develop [js] jQuery 충돌 회피 hooni 2013.12.17 38370
688 Develop [js] jQuery 셀랙터(selector) 요약 hooni 2013.12.17 9439
687 Develop [js] jQuery 셀 병합 1 file hooni 2014.09.23 3555
686 Develop [js] jQuery 관련 사이트 링크 모음 hooni 2013.04.23 18273
685 Develop [js] jQuery 관련 문서 ㅎㅎ file hooni 2013.04.23 31255
684 Develop [js] jQuery plugin 요약 hooni 2013.12.20 10748
683 Develop [js] jQuery 배열 루프(each) hooni 2013.12.17 10019
682 Develop [js] jQjuery $ 활용 hooni 2013.12.17 8903
Board Pagination Prev 1 ... 36 37 38 39 40 41 42 43 44 45 ... 98 Next
/ 98