 |
Hash table (C) - LiteratePrograms
To test resizing, we call hashtbl_resize(), and then hashtbl_get() to see if the hash table still works. = hashtbl_resize(hashtbl, 8); printf("After resize:\n"); italy=hashtbl_get(hashtbl, "Italy"); printf("Italy: %s\n", italy?italy:"-"); hashtbl_
en.literateprograms.org |
 |