diff --git a/Start_Windows/input.c b/Start_Windows/input.c index f605449..81c49ad 100644 --- a/Start_Windows/input.c +++ b/Start_Windows/input.c @@ -24,11 +24,11 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount) { words[counter][i] = toupper(word_parts[i]); //Großbuchstaben erzeugen puts("?????????????????"); - printf("%c", word_parts[i+1]); - words[counter][i] = '\0'; //Stringdefinition vervollständigen + puts(word_parts[i]); if(word_parts[i+1] == '\0') break; } + words[counter][i] = '\0'; //Stringdefinition vervollständigen counter++; // Wort eingelesen, Wortzähler erhöhen word_parts = strtok(NULL, ",;\n\t/. "); //NULL für Zeiger angeben diff --git a/Start_Windows/input.o b/Start_Windows/input.o index c259dce..3cacc80 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 e773bb1..d827ad6 100644 Binary files a/Start_Windows/runTests.exe and b/Start_Windows/runTests.exe differ