Contents

Views 7479 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();



?

  1. [c] 간단한 순위 루틴.. (질문에 대한 답변)

    Date2003.04.23 CategoryDevelop Byhooni Views7493
    Read More
  2. [js] 이미지 사이즈를 동적으로 조절..

    Date2013.04.23 CategoryDevelop Byhooni Views7488
    Read More
  3. [c] 파일(File) 관련 함수 샘플 코드

    Date2003.04.23 CategoryDevelop Byhooni Views7481
    Read More
  4. [c] 더블(이중) 연결리스트 예제..

    Date2013.04.23 CategoryDevelop Byhooni Views7479
    Read More
  5. [c] 격자 직사각형 넓이 구하기

    Date2013.04.23 CategoryDevelop Byhooni Views7474
    Read More
  6. [js] 부모창에서 자식창으로 문자열 전달..

    Date2013.04.23 CategoryDevelop Byhooni Views7471
    Read More
  7. [jsp] 유효성체크(Client, Server 에서)

    Date2003.04.23 CategoryDevelop Byhooni Views7459
    Read More
  8. [c++] MFC 모든 헤더와 라이브러리 설명 | [교류]Programming

    Date2013.04.23 CategoryDevelop Byhooni Views7454
    Read More
  9. [php] gd 프로그램.. htm 파일.. ㅋㅋ

    Date2013.04.23 CategoryDevelop Byhooni Views7451
    Read More
  10. [c] 암호화 알고리즘 DES 구현 ㅋㅋ

    Date2013.04.23 CategoryDevelop Byhooni Views7442
    Read More
  11. [c] 지폰(gphone) 소스.. 수정(암호화)

    Date2013.04.23 CategoryDevelop Byhooni Views7440
    Read More
  12. [c] 단기과정[01/07] 제어문, 피보나치수열

    Date2003.04.23 CategoryDevelop Byhooni Views7432
    Read More
Board Pagination Prev 1 ... 34 35 36 37 38 39 40 41 42 43 ... 71 Next
/ 71