Contents

Views 8585 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
291 Develop [ios][swift] 초간단 To-do Memo file hooni 2016.06.27 11041
290 Develop [c++]현승이가 보내준 동영상 암호화 자료.. 볼것.. file hooni 2003.04.23 11050
289 Develop [api] 인스타그램 API Access_Token 발급 방법 (Instagram API) 3 file hooni 2018.04.05 11050
288 Develop [ios] In App Purchase 개발 hooni 2013.11.20 11067
287 Develop [c++] 퍼즐 버블버블 간단한 원리(사용공식) file hooni 2013.04.23 11098
286 Develop [js] jQuery 배열 루프(each) hooni 2013.12.17 11102
285 Develop [iphone] 파일 업로드 샘플 코드 ㅎㅎ secret hooni 2013.04.23 11120
284 Develop [js] 밀리터리 프로그램(전역일 계산) 7 file hooni 2013.04.23 11133
283 Develop [php] 니우쪽지다.. 받아라~ ^^ file hooni 2003.04.23 11147
282 Develop [c++] Window API(MFC) 오목 게임 file hooni 2003.04.23 11151
281 Develop [c] OpenGL 임시로 여기 올림.. hooni 2003.04.23 11174
280 Develop [java] 입출력 스트림 2부 (바이트) file hooni 2013.04.23 11261
Board Pagination Prev 1 ... 42 43 44 45 46 47 48 49 50 51 ... 71 Next
/ 71