main.c -> test.c
This commit is contained in:
4
Makefile
4
Makefile
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
test: main.c hm.h
|
test: test.c hm.h
|
||||||
cc -Wall -Wextra -ggdb -o test main.c
|
cc -Wall -Wextra -ggdb -o test test.c
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf test
|
rm -rf test
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ int main(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
print(&freq);
|
print_hm(&freq);
|
||||||
printf("count = %zu\n", freq.count);
|
printf("count = %zu\n", freq.count);
|
||||||
|
|
||||||
HashMapIterator it = hm_iterate(&freq);
|
HashMapIterator it = hm_iterate(&freq);
|
||||||
Reference in New Issue
Block a user