Browse Source

refactoring: Refactoring9

remotes/origin/Kevin
Kevin Schellberg 11 months ago
parent
commit
b912212789
  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. 2
      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.019236000021919608
:time: 0.020077599998330697

2
build/test/results/test_quizduell.pass

@ -51,4 +51,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.04335140000330284
:time: 0.039269100001547486

2
build/test/results/test_timequiz.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.01822980001452379
:time: 0.022210399998584762

2
build/test/results/test_wwm.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.018483799998648465
:time: 0.024773599987383932

2
src/quizduell.c

@ -93,7 +93,7 @@ int spieleKategorie(Kategorie* kategorie) {
break; // Wenn der Joker bereits verwendet wurde, beendet die Schleife ohne nachzufragen break; // Wenn der Joker bereits verwendet wurde, beendet die Schleife ohne nachzufragen
} }
printf("Your answer: ");
printf("Enter your choice (A/B/C/D): ");
scanf("%9s", benutzerAntwort); scanf("%9s", benutzerAntwort);
benutzerAntwort[0] = toupper(benutzerAntwort[0]); benutzerAntwort[0] = toupper(benutzerAntwort[0]);

Loading…
Cancel
Save