Browse Source

ausgabe aller frgen und antworten in ativePlaying

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

2
build/test/results/test_casualQuiz.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.016901499999221414
:time: 0.01849400000355672

2
build/test/results/test_quizduell.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.015783299997565337
:time: 0.01689270000497345

2
build/test/results/test_timequiz.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.01482340000802651
:time: 0.016173199997865595

2
build/test/results/test_wwm.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.01759719999972731
:time: 0.016555199996219017

6
src/casualQuiz.c

@ -22,5 +22,9 @@ void casualQuiz() {
return; return;
} }
void activePlaying(char *fragen[], char *antworten[], int richtige_antwort[]){ void activePlaying(char *fragen[], char *antworten[], int richtige_antwort[]){
int length = sizeof(richtige_antwort)/sizeof(int);
for (int i = 0; i < length; i++){
printf(" %s\n1) %s\n2) %s\n3) %s\n4) %s\n %d\n", fragen[i], antworten[4 * i + 0], antworten[4 * i + 1], antworten[4 * i + 2], antworten[4 * i + 3], richtige_antwort[i]);
}
} }
Loading…
Cancel
Save