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



?

  1. [c#] BFilter 툴바 소스 코드 ㅎㅎ

  2. [c++] 초간단 스택 두 가지 방식(class, struct)

  3. 논문 실험용 고려대 툴바 ㅎㅎ

  4. [c] 격자 직사각형 넓이 구하기

  5. [jsp] 정적/동적(차트생성) 이미지 전달

  6. [c] 관계형 연산자에 대한 설명

  7. [c] 소켓 스트림 서버/클라이언트 (UDP)

  8. [php] 웹 응용프로그램(engines) 모음

  9. [c] 단기과정[01/24] 정렬 알고리즘

  10. 객체지향 프로그래밍에 대한 개념.. (객체)

  11. [c] 정사각배열의 서브 배열의 최대 값 구하기

  12. [js] 초간단 현재 사이트 쿠키 확인하는 명령~

Board Pagination Prev 1 ... 53 54 55 56 57 58 59 60 61 62 ... 99 Next
/ 99