Contents

Views 7481 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
385 Develop [js] 한글주소(URL) 인코딩(encode, Encoding), 자바스크립트(JavaScript) hooni 2013.04.23 11345
384 Develop [js] jQuery 관련 사이트 링크 모음 hooni 2013.04.23 18275
383 Develop [js] Text 중 URL 형식을 인식해 단축 URL로 변경 file hooni 2013.04.23 8728
382 Develop [php] 몽이가 준 ajax 채팅 소스 ㅋㅋ file hooni 2013.04.23 36205
381 Develop [js] jQuery 관련 문서 ㅎㅎ file hooni 2013.04.23 31255
380 Develop [js] 인터넷 주소(URL) 인코딩 ㅋㅋ hooni 2013.04.23 11379
379 Develop [java] 날짜 계산 (Date, SimpleDateFormat) hooni 2013.04.23 11871
378 Develop [java] 스트러츠(Struts) 세팅 ㅋㅋ file hooni 2013.04.23 42395
377 Develop [js] 파이어폭스(Firefox;F/F)에서 outerHTML 작동하도록 만든 메소드 hooni 2013.04.23 16467
376 Develop [android] ArrayAdapter 테스트 파일 ㅎㅎ hooni 2013.04.23 45293
375 Develop [android] ArrayAdapter를 이용하여 출력하기 hooni 2013.04.23 47391
374 Develop [android] ListView+ArrayAdapter 테스트 hooni 2013.04.23 43951
Board Pagination Prev 1 ... 34 35 36 37 38 39 40 41 42 43 ... 71 Next
/ 71