Browse Source

Eingabe für Antwort hinzugefügt

remotes/origin/Florian
Florian Baeseler 11 months ago
parent
commit
56c392a318
  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. 5
      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.015043999999761581
:time: 0.0403814000019338

2
build/test/results/test_quizduell.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.01414919999660924
:time: 0.03373009999631904

2
build/test/results/test_timequiz.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.015228500007651746
:time: 0.03012859998852946

2
build/test/results/test_wwm.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.014498500007903203
:time: 0.03110500000184402

5
src/casualQuiz.c

@ -23,10 +23,13 @@ void casualQuiz() {
return; return;
} }
void activePlaying(char *fragen[], char *antworten[], int richtige_antwort[], int size ){ void activePlaying(char *fragen[], char *antworten[], int richtige_antwort[], int size ){
int eingabeInt;
for (int i = 0; i < size; i++){ for (int i = 0; i < size; i++){
eingabeInt = 5;
FzeigeFragen(fragen, i); FzeigeFragen(fragen, i);
FzeigeAntworten(antworten, i); FzeigeAntworten(antworten, i);
printf("Please type in your answer 1,2,3 or 4: ");
scanf_s("%d", &eingabeInt);
printf(" %d\n", richtige_antwort[i]); printf(" %d\n", richtige_antwort[i]);
} }
} }

Loading…
Cancel
Save