Browse Source

BenutzerAntwort

remotes/origin/Kevin
Kevin Schellberg 11 months ago
parent
commit
cf79a99eee
  1. BIN
      build/test/out/c/quizduell.o
  2. BIN
      build/test/out/test_quizduell.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. 4
      src/quizduell.c

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

BIN
build/test/out/test_quizduell.out

2
build/test/results/test_casualQuiz.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.01649479999991854
:time: 0.016473800000085248

2
build/test/results/test_quizduell.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.03187730000013289
:time: 0.03107559999989462

2
build/test/results/test_timequiz.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.016490100000055463
:time: 0.01565959999993538

2
build/test/results/test_wwm.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.017476199999919118
:time: 0.017601199999944583

4
src/quizduell.c

@ -27,6 +27,10 @@ int spieleKategorie(Kategorie* kategorie) {
char benutzerAntwort[10]; char benutzerAntwort[10];
printf("\nQuestion %d:\n%s", i + 1, kategorie->fragen[i].frage); printf("\nQuestion %d:\n%s", i + 1, kategorie->fragen[i].frage);
printf("Your answer: ");
scanf("%s", benutzerAntwort);
} }
return punktzahl; return punktzahl;
} }

Loading…
Cancel
Save