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
21 System/OS HTTP 프로토콜 (브라우저와 웹서버 간의 통신) hooni 2003.04.23 48250
20 Develop How to Test SMTP AUTH using Telnet hooni 2018.04.05 1335
19 System/OS How to Setup an Email Server on CentOS 7 hooni 2018.04.05 2785
18 System/OS How to Install and Use wget on Mac file hooni 2020.09.03 1279
17 Etc How to completely Uninstall Coda hooni 2017.10.24 2161
16 Etc GSM에서 음성이 실리는 과정 요약.. hooni 2013.04.23 17518
15 Develop GPL, AGPL, MPL,.. 한눈에 보는 오픈소스SW 라이선스 file hooni 2014.10.14 1146
14 Develop git 브런치 배우기 (링크) hooni 2013.07.09 20571
13 Develop GCM 사용하기 3 (JSP로 GCM 푸시 서버 만들기) 4 file hooni 2013.07.06 25315
12 Develop GCM 사용하기 2 (단말에 GCM 구현하기) file hooni 2013.07.06 23248
11 System/OS Enable the Develop Menu in Safari file hooni 2017.02.07 1071
10 System/OS Enable Safari Hidden Debug Menu in Mac OS X file hooni 2017.02.07 1145
9 Etc EBS [수학영역] 미적분과 통계 기본 - 정규분포의 의미와 특징은? hooni 2015.04.20 1001
8 Develop DDay Memo 1.9.4 소스코드 secret hooni 2015.10.03 0
7 System/OS Configure Postfix to Use Gmail SMTP on Ubuntu 18.04 file hooni 2020.02.07 1250
6 System/OS CentOS 에서 Cacti 설치하기 hooni 2015.01.02 1764
Board Pagination Prev 1 ... 70 71 72 73 74 Next
/ 74