main abgeaendert

This commit is contained in:
fischerch103508 committed 2026-10-17 15:29:22 +02:00
1 parent a5e963f2a6
commit 7eaf6e2f1f
1 file changed
+5 -2
+5 -2
View File
@@ -41,8 +41,11 @@ int main(int argc, char *argv[])
{ {
startGame(wordSalad, SALAD_SIZE, words, wordCount, 800); 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 else
{ {
// Print error message if file couldn't be opened // Print error message if file couldn't be opened