From 471a02f9042e8e8e43449b516dce9f50e8ce8140 Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Sun, 28 Apr 2024 21:56:15 +0000 Subject: Sun, Apr 28, 2024, 2:56 PM -07:00 --- wk5/pset/speller/dictionary.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'wk5/pset/speller/dictionary.c') diff --git a/wk5/pset/speller/dictionary.c b/wk5/pset/speller/dictionary.c index 0a3549d..16d3547 100644 --- a/wk5/pset/speller/dictionary.c +++ b/wk5/pset/speller/dictionary.c @@ -54,6 +54,11 @@ bool load(const char *dictionary) char c; while(fscanf(source, "%s", word) != ) + /* + use fscanf(file, "%s", word) to grab words + + */ + // Close the dictionary file fclose(source); } -- cgit v1.2.3