From 14c76e647c408f5c68ff78bf6dd339b79f5ec1a9 Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Sun, 14 Apr 2024 23:33:14 +0000 Subject: Sun, Apr 14, 2024, 4:33 PM -07:00 --- wk5/pset/speller/dictionary.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'wk5/pset') diff --git a/wk5/pset/speller/dictionary.c b/wk5/pset/speller/dictionary.c index 6e934d9..9cb70dc 100644 --- a/wk5/pset/speller/dictionary.c +++ b/wk5/pset/speller/dictionary.c @@ -36,8 +36,7 @@ unsigned int hash(const char *word) bool load(const char *dictionary) { // TODO - fopen(); - return false; + return fopen(dictionary, "r"); } // Returns number of words in dictionary if loaded, else 0 if not yet loaded -- cgit v1.2.3