diff --git a/src/casualQuiz.c b/src/casualQuiz.c index 9c3f846..8e5ed89 100644 --- a/src/casualQuiz.c +++ b/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; } \ No newline at end of file