Browse Source

AbfrageFragen

remotes/origin/Kevin
Kevin Schellberg 11 months ago
parent
commit
e58d048271
  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. 7
      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.016023700000005192
:time: 0.016471099999989747

2
build/test/results/test_quizduell.pass

@ -15,4 +15,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.029750499999977364
:time: 0.030837499999961437

2
build/test/results/test_timequiz.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.016164499999945292
:time: 0.01623769999991964

2
build/test/results/test_wwm.pass

@ -11,4 +11,4 @@
:failed: 0 :failed: 0
:ignored: 0 :ignored: 0
:stdout: [] :stdout: []
:time: 0.01664180000000215
:time: 0.01627900000005411

7
src/quizduell.c

@ -23,6 +23,13 @@ void zeigeVerfuegbareKategorien(Kategorie kategorien[]) {
if (kategorien[2].fragen != NULL) printf("Sports\n"); if (kategorien[2].fragen != NULL) printf("Sports\n");
} }
void befreieKategorie(Kategorie* kategorie) {
free(kategorie->fragen);
kategorie->fragen = NULL;
kategorie->anzahlFragen = 0;
kategorie->joker = 0;
}
void quizduell() { void quizduell() {
printf("Welcome to the singleplayer quizduell!\n"); printf("Welcome to the singleplayer quizduell!\n");

Loading…
Cancel
Save