diff --git a/Start_Windows/input.c b/Start_Windows/input.c index ab7f9d6..9b802e8 100644 --- a/Start_Windows/input.c +++ b/Start_Windows/input.c @@ -8,5 +8,7 @@ // Read words from file and store in 'words' array int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount) { -int a; + file = fopen("words.txt", "r"); //liest das doc ein + if (file == NULL) + return -1; } \ No newline at end of file