Contents

Views 7486 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
553 Develop [iphone] 파일 업로드 샘플 코드 ㅎㅎ secret hooni 2013.04.23 11120
552 Develop [node.js] 지금 하고 있는거.. file hooni 2013.04.23 27025
551 Develop [node.js] nodejs 기본 설치 hooni 2013.04.23 26329
550 Develop [iphone] 화면 전환 Portrait & Landscape Mode hooni 2013.04.23 22364
549 Develop [iphone] performSelector:withObject:afterDelay: 에 대한 내용 hooni 2013.04.23 65908
548 Develop [ios] 디렉토리 하하하.. hooni 2013.04.23 32663
547 Develop [ios] iCloud관련 저장 디렉토리 hooni 2013.04.23 29679
546 Develop [ios] NSData 클래스에 대해 (NSData <-> char*) hooni 2013.04.23 26597
545 Develop [ios] UILabel top alignㅎㅎ hooni 2013.04.23 22896
544 Develop [ios] UIColor 지정에서 RGB define ㅎㅎ hooni 2013.04.23 22971
543 Develop [ios] 자주 쓰는 패턴과 API hooni 2013.04.23 17734
542 Develop [ios] 테이블뷰셀/뷰에 배경 패턴 넣기.. hooni 2013.04.23 29861
Board Pagination Prev 1 ... 20 21 22 23 24 25 26 27 28 29 ... 71 Next
/ 71