#include "hashmap.h" #include int main() { hashmap_t *map = hashmap_create(128); int value1 = 42; hashmap_put(map, "answer", &value1); int *found = hashmap_get(map, "answer"); if (found) { printf("Found: %d\n", *found); } hashmap_remove(map, "answer"); found = hashmap_get(map, "answer"); if (!found) { printf("Entry removed.\n"); } hashmap_destroy(map); return 0; }