diff --git a/Start_Windows/graphicalGame.o b/Start_Windows/graphicalGame.o deleted file mode 100644 index 882f85b..0000000 Binary files a/Start_Windows/graphicalGame.o and /dev/null differ diff --git a/Start_Windows/input.c b/Start_Windows/input.c index 2111002..51fdec5 100644 --- a/Start_Windows/input.c +++ b/Start_Windows/input.c @@ -20,10 +20,13 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount) while(word_parts != NULL && counter < maxWordCount) { - for(i = 0; i < MAX_WORD_LEN -1 || word_parts[i] != '\0'; i++) + for(i = 0; i < MAX_WORD_LEN -1; i++) { words[counter][i] = toupper(word_parts[i]); //Großbuchstaben erzeugen puts("?????????????????"); + if(word_parts[i] == '\0') + break; + } words[counter][i] = '\0'; //Stringdefinition vervollständigen } diff --git a/Start_Windows/input.o b/Start_Windows/input.o index 805ef15..04f719d 100644 Binary files a/Start_Windows/input.o and b/Start_Windows/input.o differ diff --git a/Start_Windows/main.o b/Start_Windows/main.o deleted file mode 100644 index 599acbb..0000000 Binary files a/Start_Windows/main.o and /dev/null differ diff --git a/Start_Windows/runTests.exe b/Start_Windows/runTests.exe index 109bcd1..6af276f 100644 Binary files a/Start_Windows/runTests.exe and b/Start_Windows/runTests.exe differ