구현 소스 OpenAddressing.h #ifndef OPEN_ADDRESSING_H #define OPEN_ADDRESSING_H #include #include #include typedef char* KeyType; typedef char* ValueType; enum ElementStatus { Empty = 0, Occupied = 1 }; typedef struct tagElementType { KeyType Key; ValueType Value; enum ElementStatus Status; }ElementType; typedef struct tagHashTable { int OccupiedCount; int TableSize; ElementType* Table; }HashTable; H..
구현소스 ChainingHashTable.h #ifndef CHAINING_HASH_TABLE #define CHAINING_HASH_TABLE #include #include #include typedef char* KeyType; typedef char* ValueType; typedef struct tagNode { KeyType Key; ValueType Value; struct tagNode* Next; } Node; typedef Node* List; typedef struct tagHashTable { int TableSize; List* Table; // Linked List로 구현된 Node를 가리키는 더블 포인터 // HashTable 생성시 동적할당되어 포인터 배열로 쓰임. }Hash..
구현소스 SimpleHashTable.h #ifndef SIMPLE_HASH_TABLE #define SIMPLE_HASH_TABLE // 간단한 나눗셈법으로 구현한 Hash Table #include #include typedef int KeyType; typedef int ValueType; typedef struct tagNode { KeyType Key; ValueType Value; } Node; typedef struct tagHashTable { int TableSize; Node* Table; } HashTable; HashTable*SHT_CreateHashTable(int TableSize); voidSHT_Set(HashTable* HT, KeyType Key, ValueType Va..
- Total
- Today
- Yesterday
- 뇌를 자극하는 알고리즘
- Farseer Physics
- WinAPI
- PtInRect
- Game project
- quick sort
- SetTimer
- Tales of the Float Land
- 그림 맞추기 게임
- Data Structures in C
- Ice Climber
- Pixel 색상값으로 구현한 간단한 충돌
- WM_TIMER
- 열혈강의C
- Linked list
- Digits Folding
- graph
- Win32 API
- Hash table
- WM_CONTEXTMENU
- MFC 예제
- Stack
- Tree
- 2D Game Project
- PackMan
- Kinect Programming
- Queue
- 윈도우즈 API 정복
- Kinect Game Project
- IntersectRect
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |