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 [ios] Facebook SDK 로그인 설명 file hooni 2017.04.19 1346
692 Develop [ios] FlckrFeed Example App (Swift) file hooni 2016.11.27 1204
691 Develop [ios] GCD 변수 사용 예제 hooni 2013.10.01 12151
690 Develop [ios] GMT Date와 Local Date 변환하기 hooni 2015.04.07 917
689 Develop [ios] GPS 이용 상태 확인 hooni 2015.04.27 1416
688 Develop [ios] How to set up clang formatter hooni 2015.09.17 1473
687 Develop [ios] How To Use UIScrollView to Scroll and Zoom Content (Using Objective-C) file hooni 2016.03.23 1763
686 Develop [ios] How To Use UIScrollView to Scroll and Zoom Content (Using Swift) file hooni 2016.03.23 7683
685 Develop [ios] Hybrid 앱 스터디 발표 자료 file hooni 2013.09.06 13812
684 Develop [ios] IB 없이 개발하기 (html) secret hooni 2013.05.31 0
683 Develop [ios] iCloud관련 저장 디렉토리 hooni 2013.04.23 29676
682 Develop [ios] In App Purchase 개발 hooni 2013.11.20 9299
Board Pagination Prev 1 ... 36 37 38 39 40 41 42 43 44 45 ... 98 Next
/ 98