Contents

Views 7470 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
753 Develop [ios][swift] 초간단 카달로그 앱 (Catalog App) file hooni 2016.06.27 7120
752 Develop [c] 달팽이 배열? 인지 먼지.. ㅋㅋ hooni 2013.04.23 7128
751 Develop [asp] 폼메일 예제와 메일 포워딩 프로그램 file hooni 2013.04.23 7129
750 Develop [c] 바로 보고 정리할 것.. ㅋㄷㅋㄷ file hooni 2013.04.23 7131
749 Develop [web] URL 인코딩 방법.. 테이블.. ㅋㅋ hooni 2013.04.23 7142
748 Develop [c] 확인해 볼거.. ㅡ,.ㅡ; file hooni 2013.04.23 7145
747 Develop [java] 컴포넌트 배치 ㅡ.,ㅡ; hooni 2003.04.23 7147
746 Develop [c++] template 사용예 hooni 2003.04.23 7147
745 Develop [c] 파일(int fd)에서 개행문자 단위로 읽기 by 후리자 hooni 2013.04.23 7152
744 Develop [php] 탐색기와 같은 다이나믹 트리(xml/xsl 이용) file hooni 2013.04.23 7153
743 Develop [js] 후리자(영규) 스타일들.. file hooni 2013.04.23 7154
742 Develop [c++] 트리컨트롤 예제1 ㅋㅋ file hooni 2013.04.23 7171
Board Pagination Prev 1 ... 31 32 33 34 35 36 37 38 39 40 ... 98 Next
/ 98