diff --git a/Startcode/main.c b/Startcode/main.c index 7931401..0d3ecb6 100644 --- a/Startcode/main.c +++ b/Startcode/main.c @@ -41,8 +41,11 @@ int main(int argc, char *argv[]) { startGame(wordSalad, SALAD_SIZE, words, wordCount, 800); } - - } + else + { + fprintf(stderr, "konnte nicht alle Wörter platzieren %d von %d \n", placedWords, wordCount); + exitCode = EXIT_FAILURE; + } else { // Print error message if file couldn't be opened