Contents

Views 8585 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] GD라이브러리 설치 테스트 소스

  2. [c] 그래픽 차트 라이브러리.. 나중에 확인 해볼 거..

  3. [c] 로또(Lotto) 번호 생성기

  4. [c] 코드 최적화에 대해..

  5. [js] 한글문서로 된 259가지 자바스크립트 예제파일

  6. 나중에 해봐야지.. libconv 설치.. ㅡ,.ㅡ;

  7. [js] 자바스크립트 escape()를 PHP로 받기

  8. [php] 피코맥스용 검색엔진 ㅋㅋ

  9. [c][java] 그래픽(graphic)관련 자료와 샘플코드..

  10. [java] 그래픽(도형,다각형..) 이동,확대,축소,회전에 대한 내용..

  11. [doc] Equation Solving에 대한 발표자료..

  12. [c] 베지어 곡선(Bézier curve) 알고리즘

Board Pagination Prev 1 ... 57 58 59 60 61 62 63 64 65 66 ... 99 Next
/ 99