diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-04-14 23:33:14 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-04-14 23:33:14 +0000 |
commit | 14c76e647c408f5c68ff78bf6dd339b79f5ec1a9 (patch) | |
tree | cfb8024b83bed3e04ce4ce36f63915fd16a555cb /wk5/pset/speller/dictionary.c | |
parent | e1519168ff9f5ddd56273ca623ee4ff8e8304928 (diff) |
Sun, Apr 14, 2024, 4:33 PM -07:00
Diffstat (limited to 'wk5/pset/speller/dictionary.c')
-rw-r--r-- | wk5/pset/speller/dictionary.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 |