Browse Source

zählervariablen nach jedem durchlauf zurücksetzen

remotes/origin/Florian
Florian Baeseler 11 months ago
parent
commit
a02a87aa6f
  1. BIN
      build/test/out/c/casualQuiz.o
  2. BIN
      build/test/out/test_casualQuiz.out
  3. 2
      build/test/results/test_casualQuiz.pass
  4. 2
      build/test/results/test_quizduell.pass
  5. 2
      build/test/results/test_timequiz.pass
  6. 2
      build/test/results/test_wwm.pass
  7. 2
      src/casualQuiz.c

BIN
build/test/out/c/casualQuiz.o

BIN
build/test/out/test_casualQuiz.out

2
build/test/results/test_casualQuiz.pass

@ -61,4 +61,4 @@
- Right Answer, well done. - Right Answer, well done.
- Wrong Input! - Wrong Input!
- Wrong Input! - Wrong Input!
:time: 0.033071900019422174
:time: 0.03427539998665452

2
build/test/results/test_quizduell.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.014388599956873804
:time: 0.013956899987533689

2
build/test/results/test_timequiz.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.014871200022753328
:time: 0.018729900009930134

2
build/test/results/test_wwm.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.015666099963709712
:time: 0.01555840001674369

2
src/casualQuiz.c

@ -36,6 +36,8 @@ void casualQuiz() {
activePlaying(easy_fragen, *easy_antworten, easy_richtigeAntworten, length_frag_array, answeredP, correctP); activePlaying(easy_fragen, *easy_antworten, easy_richtigeAntworten, length_frag_array, answeredP, correctP);
printf("korrekte Antworten: %d\n", correct); printf("korrekte Antworten: %d\n", correct);
printf("bei: %d beantworteten Fragen", answered); printf("bei: %d beantworteten Fragen", answered);
correct = 0;
answered = 0;
} }
return; return;
} }

Loading…
Cancel
Save