From 3711956db6619b32edb626d25ddea4e324c6a040 Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Mon, 29 Apr 2024 03:10:16 +0000 Subject: Sun, Apr 28, 2024, 8:10 PM -07:00 --- wk5/pset/speller/dictionary.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'wk5') 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 #include - +#include +#include +#include #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) { -- cgit v1.2.3