diff --git a/Start_Windows/input.c b/Start_Windows/input.c index 3fffd0e..5a54a6c 100644 --- a/Start_Windows/input.c +++ b/Start_Windows/input.c @@ -35,7 +35,7 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount) { for(int o = 0; o < MAX_WORD_LEN; o++) { - printf("%s", words[z][o]); + printf("%c", words[z][o]); } printf("\n"); } diff --git a/Start_Windows/input.o b/Start_Windows/input.o index a5489f0..a8cd3ea 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 1d1ee30..6cb3a97 100644 Binary files a/Start_Windows/runTests.exe and b/Start_Windows/runTests.exe differ diff --git a/Start_Windows/testwords_delims.txt b/Start_Windows/testwords_delims.txt new file mode 100644 index 0000000..e721fce --- /dev/null +++ b/Start_Windows/testwords_delims.txt @@ -0,0 +1 @@ +Hund,Katze; Maus diff --git a/Start_Windows/testwords_empty.txt b/Start_Windows/testwords_empty.txt new file mode 100644 index 0000000..e69de29 diff --git a/Start_Windows/testwords_simple.txt b/Start_Windows/testwords_simple.txt new file mode 100644 index 0000000..37d7524 --- /dev/null +++ b/Start_Windows/testwords_simple.txt @@ -0,0 +1,3 @@ +Apfel +Banane +Kiwi \ No newline at end of file