diff --git a/Start_Windows/input.c b/Start_Windows/input.c index 3d3c138..f520559 100644 --- a/Start_Windows/input.c +++ b/Start_Windows/input.c @@ -20,7 +20,8 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount) return 0; } - fscanf(file, "%10s", buffer); + fgets(buffer, MAX_LINE_LEN, file); + //fscanf(file, "%s", buffer); do { diff --git a/Start_Windows/input.o b/Start_Windows/input.o index 5924bd1..8efa8bd 100644 Binary files a/Start_Windows/input.o and b/Start_Windows/input.o differ diff --git a/Start_Windows/runTests.exe b/Start_Windows/runTests.exe index b7d99f9..9154db1 100644 Binary files a/Start_Windows/runTests.exe and b/Start_Windows/runTests.exe differ diff --git a/Start_Windows/wordsalad_myversion.exe b/Start_Windows/wordsalad_myversion.exe index d31a043..babf2f0 100644 Binary files a/Start_Windows/wordsalad_myversion.exe and b/Start_Windows/wordsalad_myversion.exe differ diff --git a/Start_Windows/wordsalad_myvesion.exe b/Start_Windows/wordsalad_myvesion.exe deleted file mode 100644 index 14e0718..0000000 Binary files a/Start_Windows/wordsalad_myvesion.exe and /dev/null differ