62
63
printf("hash, r to resize,\n");
63
64
printf("g to add element with autogrow check,and q to quit\n");
64
65
printf("Enter command: ");
66
67
if(strn[strlen(strn) - 1] == '\n')
67
68
strn[strlen(strn) - 1] = '\0';
69
70
printf("New size of hash (in hash_bits): ");
71
72
if(strn[strlen(strn) - 1] == '\n')
72
73
strn[strlen(strn) - 1] = '\0';
73
74
if(atoi(strn) >= 8 && atoi(strn) < 31)