我有以下桶条目结构和哈希表建立如何创建哈希表的在C动态数组
typedef struct Hash_Entry
{
struct Hash_Entry *next;
void *key_Data;
unsigned key_hash;
char key[5];
} Hash_Entry;
typedef struct Hash_Table
{
struct Hash_Entry **bucketPtr; /* Buckets in the table */
int size; /* Actual size of array. */
int numEntries; /* Number of entries in the table. */
int mask; /* Used to select bits for hashing. */
} Hash_Table;
我想创建此Hash_Table的阵列(或动态阵列)所以,当我觉得表满,我可以创建另一个表,而不是重新调整其大小