From da7c2473490b2ef2865dbeca4c745bcb3f40a71b Mon Sep 17 00:00:00 2001 From: Florian Baeseler Date: Wed, 7 Feb 2024 18:04:06 +0100 Subject: [PATCH] =?UTF-8?q?Schleife=20hinzugef=C3=BCgt,=20um=20Programm=20?= =?UTF-8?q?zu=20wiederholen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/test/out/c/casualQuiz.o | Bin 10305 -> 10389 bytes build/test/out/test_casualQuiz.out | Bin 120806 -> 120806 bytes build/test/results/test_casualQuiz.pass | 2 +- build/test/results/test_quizduell.pass | 2 +- build/test/results/test_timequiz.pass | 2 +- build/test/results/test_wwm.pass | 2 +- src/casualQuiz.c | 11 +++++++---- 7 files changed, 11 insertions(+), 8 deletions(-) diff --git a/build/test/out/c/casualQuiz.o b/build/test/out/c/casualQuiz.o index 78f805fb1c968f80203a3b881d405c1726d67c1c..9606ee92f3a8f44b85635647f3e86dc0f3fcf018 100644 GIT binary patch delta 1822 zcmZ9Me@t6d6vxlKeJ%Y(yY&a*S1FVVqrh0uxWKHD!0?$6$EH&jv(0LsP$k{u=Rij> z0tuN-R_>}85n0TPf4B&1oQv5aM4XsxiGN^1;t2SMX2}v`NK8olf#<$kFNrsK_k7Ri zo}PQ|d9Qb=J$=*~op69Yf+=gE1#$pdD8O{8wwJV|E>{}oEdUo&cgtz9HMLb?oXG{4 zWj^A!u43r26W~~YwUPjtW-(G}{GtG0gr$k!LNLoO=uNR(q@4W9ekPUFSIn%mfn_ZodBrG&w``4y_z)gBGk#H``msve&?FuX+l=m5vBOpB40@!zM)Qz-#~eL{7anC zT<7M&sg?`L6%=jB!;5P2_@8xU zw%C8^qWacyduCnnP|}y#GSyQSumqG4kapH>@v##YJA2)7=&74{tbEMH?VJH1h??6C zd=8-Ic0mDn3^liF_^7D4O`8CoMa}JY<_}Aq(h$Hjd??rpaO|0&3U(D7n^ZBQwVO7H zvKK>cyK<_~2Y5uEaeH>sagfZhG|n6BF3t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W0a&eFOqAI(FNoq^f=C=trqVYYx1)S(>c^wn!&heJU1%>(9xYR3(9P=guST0w-i2#<% r9T3iIyTsXq+iR)3_$F>SK62ej#L#BRdq#dbBES#N`o@zqDDb}l<)JE= diff --git a/build/test/results/test_casualQuiz.pass b/build/test/results/test_casualQuiz.pass index 90589e8..25d27be 100644 --- a/build/test/results/test_casualQuiz.pass +++ b/build/test/results/test_casualQuiz.pass @@ -61,4 +61,4 @@ - Right Answer, well done. - Wrong Input! - Wrong Input! -:time: 0.03401070000836626 +:time: 0.033071900019422174 diff --git a/build/test/results/test_quizduell.pass b/build/test/results/test_quizduell.pass index 1e25796..60103b3 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.015290900017134845 +:time: 0.014388599956873804 diff --git a/build/test/results/test_timequiz.pass b/build/test/results/test_timequiz.pass index 7070fd5..6574cde 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.016262600023765117 +:time: 0.014871200022753328 diff --git a/build/test/results/test_wwm.pass b/build/test/results/test_wwm.pass index 8523d6b..22c2d9a 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.015809100004844368 +:time: 0.015666099963709712 diff --git a/src/casualQuiz.c b/src/casualQuiz.c index e39a10f..fb4c6ee 100644 --- a/src/casualQuiz.c +++ b/src/casualQuiz.c @@ -30,10 +30,13 @@ void casualQuiz() { int answered = 0; int* correctP = &correct; int* answeredP = &answered; - - activePlaying(easy_fragen, *easy_antworten, easy_richtigeAntworten, length_frag_array, answeredP, correctP); - printf("korrekte Antworten: %d\n", correct); - printf("bei: %d beantworteten Fragen", answered); + bool already_played = false; + bool end = false; + while (end == false){ + activePlaying(easy_fragen, *easy_antworten, easy_richtigeAntworten, length_frag_array, answeredP, correctP); + printf("korrekte Antworten: %d\n", correct); + printf("bei: %d beantworteten Fragen", answered); + } return; } void activePlaying(char* fragen[], char* antworten[], int richtige_antwort[], int size, int* answeredP, int* correctP) {