forked from freudenreichan/info2Praktikum-Wortsalat
main.c fertig
This commit is contained in:
1 parent
88575ba8bf
commit
7df641beb3
1 file changed
+6
@@ -40,6 +40,12 @@ int main(int argc, char *argv[])
|
|||||||
// Check if all words were successfully placed
|
// Check if all words were successfully placed
|
||||||
// Start the game if successful
|
// Start the game if successful
|
||||||
// error message if some words couldn't be placed
|
// error message if some words couldn't be placed
|
||||||
|
if (placedWords == 1){
|
||||||
|
continue;
|
||||||
|
}else {
|
||||||
|
createWordSalad(wordSalad, SALAD_SIZE, words, wordCount);
|
||||||
|
printf("The Words couln´d be placed in the Salad\n");
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in new issue
Block a user