diff --git a/build/test/out/c/casualQuiz.o b/build/test/out/c/casualQuiz.o index c1fdb59..e5931b0 100644 Binary files a/build/test/out/c/casualQuiz.o and b/build/test/out/c/casualQuiz.o differ diff --git a/build/test/out/test_casualQuiz.out b/build/test/out/test_casualQuiz.out index 102e959..f750f28 100755 Binary files a/build/test/out/test_casualQuiz.out and b/build/test/out/test_casualQuiz.out differ diff --git a/build/test/results/test_casualQuiz.pass b/build/test/results/test_casualQuiz.pass index 9310469..0f9e6ee 100644 --- a/build/test/results/test_casualQuiz.pass +++ b/build/test/results/test_casualQuiz.pass @@ -66,4 +66,4 @@ - Wrong Input! - Wrong Input! - It looks like you havent played the program yet, starting it up... -:time: 0.035827299987431616 +:time: 0.03566809999756515 diff --git a/build/test/results/test_quizduell.pass b/build/test/results/test_quizduell.pass index 9f30ddf..6e8d7f7 100644 --- a/build/test/results/test_quizduell.pass +++ b/build/test/results/test_quizduell.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.016350399993825704 +:time: 0.016603700001724064 diff --git a/build/test/results/test_timequiz.pass b/build/test/results/test_timequiz.pass index 6eadb39..4d6e6ec 100644 --- a/build/test/results/test_timequiz.pass +++ b/build/test/results/test_timequiz.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.01459390000673011 +:time: 0.017840899992734194 diff --git a/build/test/results/test_wwm.pass b/build/test/results/test_wwm.pass index 17d6934..2e093bc 100644 --- a/build/test/results/test_wwm.pass +++ b/build/test/results/test_wwm.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.016387699986808002 +:time: 0.014955000020563602 diff --git a/src/casualQuiz.c b/src/casualQuiz.c index eb74147..9c3f846 100644 --- a/src/casualQuiz.c +++ b/src/casualQuiz.c @@ -78,7 +78,7 @@ int FEingabeInteger() { bool FcheckaufRichtigkeit(int eingabe, int richtige_antwort[], int i) { switch (eingabe) { case 0:{ - exit(7); + Fabbruch(); break; } case 1: { @@ -159,4 +159,7 @@ bool FtryAgain(bool already_played){ return false; } +} +void Fabbruch(){ + exit(7); } \ No newline at end of file diff --git a/src/casualQuiz.h b/src/casualQuiz.h index f4a8234..d5b30be 100644 --- a/src/casualQuiz.h +++ b/src/casualQuiz.h @@ -9,5 +9,6 @@ int FEingabeInteger(); bool FcheckaufRichtigkeit(int eingabe, int richtige_antwort[], int i); void FzaehlernachAuswahl(bool richtig, int* answeredP, int* correctP); bool FtryAgain(bool already_played); +void Fabbruch(); #endif // ende CASUALQUIZ_H \ No newline at end of file