10.5 / 15 points
- wordcount neni staticky sestaveny (chybi -static)
- valgrind hlasi chyby u tail i wordcount
- neuvolnena pamet u wordcount
- wordcount nefunguje spravne, segfault
The task was to implement a hashtable in C with add, delete, resize, clear, search, etc. functions and dynamic memory allocation. The hashtable would change size accordingly, in order to get best performance when searching for items. Then, the hashtable is used to recreate a C++ program that counts occurences of words in a text file in C.