diff options
-rw-r--r-- | wk5/pset/speller/dictionary.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/wk5/pset/speller/dictionary.c b/wk5/pset/speller/dictionary.c index 75cfe8c..cf2d6d1 100644 --- a/wk5/pset/speller/dictionary.c +++ b/wk5/pset/speller/dictionary.c @@ -2,7 +2,9 @@ #include <ctype.h> #include <stdbool.h> - +#include <stdio.h> +#include <stdlib.h> +#include <string.h> #include "dictionary.h" // Represents a node in a hash table @@ -18,6 +20,9 @@ const unsigned int N = 26; // Hash table node *table[N]; +// Size integer +int siz = 0; + // Returns true if word is in dictionary, else false bool check(const char *word) { |