diff --git a/Startcode/input.c b/Startcode/input.c index ed77805..ce0bd00 100644 --- a/Startcode/input.c +++ b/Startcode/input.c @@ -9,4 +9,11 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount) { + + unsigned int wordCount = 0; + while(fgets(words[wordCount],MAX_WORD_LEN,file) != NULL){ + wordCount++; + } + + } \ No newline at end of file