From a7fadda1f0df066dd9f8e4cbf95762fbe44104cd Mon Sep 17 00:00:00 2001 From: Florian Baeseler Date: Fri, 9 Feb 2024 20:43:14 +0100 Subject: [PATCH] =?UTF-8?q?Bei=20falscher=20Eingabe=20wird=20man=20gefragt?= =?UTF-8?q?,=20ob=20man=20die=20richtige=20antwort=20sehen=20m=C3=B6chte,?= =?UTF-8?q?=20dazugeh=C3=B6rige=20auswahl...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/test/out/c/casualQuiz.o | Bin 14297 -> 14523 bytes build/test/out/test_casualQuiz.out | Bin 125166 -> 125166 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 | 8 +++++++- 7 files changed, 11 insertions(+), 5 deletions(-) diff --git a/build/test/out/c/casualQuiz.o b/build/test/out/c/casualQuiz.o index d5ff6500e79aaea9be2189f4082c05290088a1ba..37f5686c12c253ac88a382d41ced04fa80fb4263 100644 GIT binary patch delta 2427 zcmZXW4{TFK9LMjjz5aP~Yz(@sjID1Q`{zbmU^>JZKqx673nonVCk#6K)>W1k%BzDx zC_17nWnyyy7G_YQNTL#q6$3)}V~8RN1PF>6qYxNwE-}RzHq7GuUEjD(yyV{Rd!OI$ z?tXXg-nBmlPi-`N-G>56`_zLb|p{R0FFKo>J5`()E=)x+1+l2mI065qH#;?e03?zZ{zGZrWo615F;=Z-&XbT*J{7 z5LGKjUBe5zE`rYrc$aG^?F-isj5HT~&ZSAmDIG$bb|&!7%5!Nu55gcYW@5sa?rvAY z4HZ`qJ(}+1-z;K$x-bD_M)kzqJci1 z{JA{C>T)vfv`W|v)k>=YjLoBmX(ulLXLe<7Z?!gg_>Xw zErl4xt(l83Gqiv6{S`h~K8=g!myx#9uKMPW{kWtohPWUW)>I=V?}!22{nTgb?vk z?&EKqmlDlD-Y4Na80SHgC}Oo!T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ko%f3)qO58lls$C-E4g9AgfE4eK2%5 z!&3S$f@uhlOKk{}>Ehchglhi|f<(GLI13DyT*k`)Qzs){<7xhvv>3Dm>GO9OtaA5j zxLw4`izGbdfMYxjQ`~TjM+BU333F`#atV}8$55ohF1d^j#c#XxI?l)XpKvi0z)&Ys zjw4oVrepDAV0I9O+W~UNaX!Ys&Ea7>?kI) zPvS?&Q&ycsZR+H;lc-d*eCTz)Dsl%diEfyXUeLRd_`9D=x*mg&oP7Ot+<+%IbIf_H zIIkp|YW6)0xE=(aLPV=va*9Vp9(L((L;w5FSKox#{_+LtQ6#@Z5A^qY0|!7`ptQV! zba%*AZ(v@`Io!IE;)3i#y!&Rz=io5@w#yRh7KKZf(-%`={$QG%8=0611Q{r$wiEs?v@na+;3`Xm^>%oFRDNL9+8S5BG0yT5^iBQ3kxcw+w%i HpBeH$lNU*; diff --git a/build/test/results/test_casualQuiz.pass b/build/test/results/test_casualQuiz.pass index d1da0ff..69f6df4 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.038000699947588146 +:time: 0.03676419996190816 diff --git a/build/test/results/test_quizduell.pass b/build/test/results/test_quizduell.pass index 159e8e1..f97a5fd 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.015598100028000772 +:time: 0.014482000027783215 diff --git a/build/test/results/test_timequiz.pass b/build/test/results/test_timequiz.pass index c0eb80b..823fed0 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.018923399969935417 +:time: 0.015876200050115585 diff --git a/build/test/results/test_wwm.pass b/build/test/results/test_wwm.pass index dd090bd..cce94d0 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.015401000040583313 +:time: 0.016650600009597838 diff --git a/src/casualQuiz.c b/src/casualQuiz.c index 0cbdf88..573ca20 100644 --- a/src/casualQuiz.c +++ b/src/casualQuiz.c @@ -78,7 +78,13 @@ bool activePlaying(char* fragen[], char* antworten[], int richtige_antwort[], in eingabe = feingabeInteger(); //eingabe Funktion richtig = fcheckaufRichtigkeit(eingabe, richtige_antwort, i); //überprüfung der eingabe anhand des richtige_eingabe arrays und dem index fzaehlernachAuswahl(richtig, answeredP, correctP); // zähler werden hochgezählt je nach eingabe - printf("The right answer was: %d) %s\n", richtige_antwort[i],antworten[4 * i + richtige_antwort[i-1]]); + if (richtig == false){ + printf("Would you like to know the right answer?\nInput 1 if oyu want to see it, 0 if not: "); + scanf_s("%d", &ansehen); + if (ansehen == 1) printf("The right answer was: %d) %s\n", richtige_antwort[i],antworten[4 * i + richtige_antwort[i-1]]); + else printf("Continuing...\n"); + } + } return true; }