Browse Source

in der Abbruch funktin eine auswahl hinzugefügt

remotes/origin/Florian
Florian Baeseler 11 months ago
parent
commit
88990efb9d
  1. 6
      src/casualQuiz.c

6
src/casualQuiz.c

@ -161,5 +161,9 @@ bool FtryAgain(bool already_played){
}
void Fabbruch(){
exit(7);
int wirklich;
printf("Do you really want to close the program?\nInput 1 to exit, input 0 to continue gaming: ");
scanf_s("%d", &wirklich);
if (wirklich == 1) exit(7);
else return;
}
Loading…
Cancel
Save