Views 7470 Votes 0 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
105 Develop [ios] ViewController Push할 때 애니메이션 효과 hooni 2015.10.23 873
104 Develop [ios] NavigationController 에서 왼쪽(back) 버튼 후킹하기 hooni 2015.10.23 1183
103 Develop [c] 한글 문자열 출력 hooni 2015.11.10 1678
102 Develop [php] 한글 문자열 자르기 (utf-8) hooni 2015.11.10 1319
101 Develop [js] AngularJS 란? file hooni 2015.11.26 887
100 Develop [ios] How To Use UIScrollView to Scroll and Zoom Content (Using Objective-C) file hooni 2016.03.23 1611
99 Develop [ios] How To Use UIScrollView to Scroll and Zoom Content (Using Swift) file hooni 2016.03.23 7329
98 Develop [ios] Did UIScrollView End Scrolling? hooni 2016.04.19 1021
97 Develop [io] Apple Watch, Today Extension 앱ID 설정 hooni 2016.04.20 794
96 Develop XE Core 1.8.18 본문 작성시 태그(html) 사라지는 버그 file hooni 2016.04.21 866
95 Develop [c#] 전자금융보안론 발표/설치 자료(툴바 소스코드) secret hooni 2016.05.07 0
94 Develop [ios] UUID 생성 + Key Chain 연동 file hooni 2016.05.13 4663
93 Develop [ios] 기본 네비게이션바의 타이틀, back버튼 위치와 속성 변경 file hooni 2016.05.16 2087
92 Develop [ios] 웹뷰 history.back() ㅋㄷ file hooni 2016.06.27 1901
91 Develop [ios][swift] 초간단 TableView 샘플 file hooni 2016.06.27 737
90 Develop [ios][swift] 초간단 To-do Memo file hooni 2016.06.27 1066
Board Pagination Prev 1 ... 45 46 47 48 49 ... 53 Next
/ 53