summaryrefslogtreecommitdiff
path: root/wk5/pset/speller/dictionary.c
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-04-14 23:33:14 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-04-14 23:33:14 +0000
commit14c76e647c408f5c68ff78bf6dd339b79f5ec1a9 (patch)
treecfb8024b83bed3e04ce4ce36f63915fd16a555cb /wk5/pset/speller/dictionary.c
parente1519168ff9f5ddd56273ca623ee4ff8e8304928 (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.c3
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