Contents

Views 7470 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
265 Develop [java] 그래픽(도형,다각형..) 이동,확대,축소,회전에 대한 내용.. 1 file hooni 2013.04.23 8636
264 Develop [java] 날짜 계산 (Date, SimpleDateFormat) hooni 2013.04.23 11852
263 Develop [java] 마우스 버튼 테스트.. swing.. file hooni 2013.04.23 7886
262 Develop [java] 메모패드.. 스윙(swing)으로.. file hooni 2013.04.23 8467
261 Develop [java] 스윙(swing) 인터페이스 이용해서 만든 구구단.. ㅋㅋ file hooni 2003.04.23 6682
260 Develop [java] 스윙(swing)버튼 테스트 ㅋㅋ file hooni 2013.04.23 9421
259 Develop [java] 스트러츠(Struts) 세팅 ㅋㅋ file hooni 2013.04.23 42353
258 Develop [java] 에디터.. swing 사용 file hooni 2013.04.23 6298
257 Develop [java] 입출력 스트림 1부 (문자) file hooni 2013.04.23 15293
256 Develop [java] 입출력 스트림 2부 (바이트) file hooni 2013.04.23 10295
255 Develop [java] 입출력 스트림 3부 (오브젝트) hooni 2013.04.23 17136
254 Develop [java] 채팅 프로그램.. swing 사용.. file hooni 2013.04.23 8345
Board Pagination Prev 1 ... 44 45 46 47 48 49 50 51 52 53 ... 71 Next
/ 71