Contents

Views 7483 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 [pdf] C++ 국제 표준 문서 file hooni 2013.04.23 7320
692 Develop [pdf] C 국제 표준 문서 file hooni 2013.04.23 6778
691 Develop [doc] C언어 문법 설명서 file hooni 2013.04.23 6459
690 Develop [doc] C++언어 문법 설명서 file hooni 2013.04.23 6194
689 Develop [chm] 비주얼 C++ 팁 모음 문서 file hooni 2013.04.23 7519
688 Develop [pdf] 윈도우즈 95 시스템 프로그래밍(Windows 95 system programming) file hooni 2013.04.23 6866
687 Develop [chm] 윈도우즈에서 디버깅 기법(Debugging Applications) file hooni 2013.04.23 7553
686 Develop [chm] C++ 문법 가이드 file hooni 2013.04.23 7970
685 Develop [pdf] 포인터 문법 정리 (C pointer) file hooni 2013.04.23 7145
684 Develop [chm] Programming Applications for Microsoft Windows file hooni 2013.04.23 7282
683 Develop [c] Unix Domain Socket 을 이용한 IPC hooni 2013.04.23 8043
682 Develop [c++] 쓰레드(Thread) 객체의 사용 hooni 2013.04.23 8609
Board Pagination Prev 1 ... 36 37 38 39 40 41 42 43 44 45 ... 98 Next
/ 98