구현소스 LinkedListQueue.h #ifndef LINKEDLISTQUEUE_H #define LINKEDLISTQUEUE #include #include #include typedef struct tagNode{ char* Data; struct tagNode* NextNode; }Node; typedef struct tagLinkedQueue{ Node* Front; // 전단을 가리키는 포인터 Node* Rear; // 후단을 가리키는 포인터 int Count; // Node의 개수를 가짐 } LinkedQueue; void LQ_CreateQueue(LinkedQueue** Queue); // Queue 생성 void LQ_DestroyQueue(LinkedQueue* Queue); // ..
구현소스 CircularQueue.h #ifndef CIRCULARQUEUE_H #define CIRCULARQUEUE_H #include #include typedef int Element; // 데이터 구조체 typedef struct tagNode{ Element Data; }Node; typedef struct tagCircularQueue{ int Capacity; // 용량 (실제용량은 Capacity+1) int Front; // Front index int Rear; // Rear index Node* Nodes; // 데이터 구조체 배열 } CircularQueue; void CQ_CreateQueue( CircularQueue** Queue, int Capacity); // Queue ..
구현소스 LinkedListStack.h #ifndef LINKEDLISTSTACK_H #define LINKEDLISTSTACK_H #include #include #include // 데이터를 가지는 Node 구조체 typedef struct tagNode { char* Data; // ArrayStack과 다르게 데이터를 문자열로 지정했다. // Node 생성시 Node 구조체 타입의 메모리 생성뿐만 아니라 문자열의 메모리도 생성 및 파괴 해줘야 한다. struct tagNode* NextNode; // 다음 노드를 가리키는 NextNode } Node; typedef struct tagLinkedListStack { Node* List; // 최하위 노드를 가리키는 List Node* Top; /..
- Total
- Today
- Yesterday
- Stack
- IntersectRect
- Digits Folding
- Tales of the Float Land
- Win32 API
- graph
- Game project
- WM_TIMER
- 2D Game Project
- PtInRect
- Hash table
- Tree
- Queue
- PackMan
- 뇌를 자극하는 알고리즘
- Linked list
- 윈도우즈 API 정복
- Pixel 색상값으로 구현한 간단한 충돌
- Data Structures in C
- quick sort
- WinAPI
- Farseer Physics
- WM_CONTEXTMENU
- 열혈강의C
- Ice Climber
- Kinect Game Project
- SetTimer
- 그림 맞추기 게임
- MFC 예제
- Kinect Programming
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |