Contents

조회 수 8584 댓글 0
Atachment
첨부 '1'
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
두가지 이중 연결 리스트.. (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
번호 분류 제목 글쓴이 날짜 조회 수
445 Develop [doc] 유료 방송 제어 시스템 (CAS) 발표자료 file hooni 2013.04.23 10748
444 PPT [doc] 위탁과제 제안서와 발표자료(pdf) file hooni 2013.04.23 13711
443 Etc [doc] 웜 프레임워크 검증환경 구축(작성중..) file hooni 2013.04.23 17044
442 PPT [doc] 방송통신공학회 논문지(학술대회) file hooni 2013.04.23 14750
441 PPT [doc] 발표 자료 ㅎㅎtalk4neo file hooni 2013.04.23 21811
440 System/OS [doc] 레드햇 리눅스 메뉴얼 (html버전) file hooni 2013.04.23 11306
439 PPT [doc] 논문.. VoIP 관련.. ㅋㅋ file hooni 2013.04.23 18043
438 System/OS [doc] 네트워크 장비와 라우터 설정 방법 발표 자료 file hooni 2013.04.23 15209
437 Develop [doc] UI개발시 유용한 소프트웨어 (개발 및 디버깅 툴) hooni 2013.04.23 14201
436 System/OS [doc] TCP/IP 강의 자료 (html) file hooni 2013.04.23 11944
435 Develop [doc] mfc 매뉴얼 다운 받아서 완성하기.. ㅋㄷ file hooni 2013.04.23 9070
434 Develop [doc] Json Framework 설치와 사용 file hooni 2013.04.23 25809
Board Pagination Prev 1 ... 57 58 59 60 61 62 63 64 65 66 ... 99 Next
/ 99