From e58d0482719e0453437ae05449855046fc1750d1 Mon Sep 17 00:00:00 2001 From: Kevin Schellberg Date: Sun, 4 Feb 2024 19:13:16 +0100 Subject: [PATCH] AbfrageFragen --- build/test/out/c/quizduell.o | Bin 7847 -> 8073 bytes build/test/out/test_quizduell.out | Bin 111492 -> 112855 bytes build/test/results/test_casualQuiz.pass | 2 +- build/test/results/test_quizduell.pass | 2 +- build/test/results/test_timequiz.pass | 2 +- build/test/results/test_wwm.pass | 2 +- src/quizduell.c | 7 +++++++ 7 files changed, 11 insertions(+), 4 deletions(-) diff --git a/build/test/out/c/quizduell.o b/build/test/out/c/quizduell.o index 0919ac320865ae178b0d800ccf0408ffbede02f5..9e897dff8fc25e698a480a70ac480b82695331bf 100644 GIT binary patch delta 1625 zcmYjRZ)jUp6hHUAyu9SS=I=|=Bu&$l+GbAc+{k8ISK6*p+Kx@~5EG7`JvVvb=RRt)A8azOlaSQkN8f53H+c z=N9zM#6^-N^>vhu`T&;VVuB^rRR-{jD6+J3F$A!uL!4pB{(~rd71(zf<7Dh}VG zczN>p#ud!>(BUIgRm-x}M!H$Wy zy~F9e6X22qgTRKQpGf*?P#b&;GpWGvssKE~;~Q-xB({Ti`x$q;&m-fQuVxntpzFkd zO6N9yK$2H)L)u30jM|UXL-2ET7g8_5Yj~9a+^2tq+no$F+UYi2L~@u~D^auQz=GmEf2N_=a@q1c zINaPvkpO2(A!2~@J7o2xDh5IQzf9^=H}(2s*;1*J12xVA@1pAvsg6(#vsSO>mYxFV zaPSZc=~E=3z~H3whaSiC=9de(QVCexd6wL89m8JIVz0fAreQz9P9I^#dZQ8fT9aBB zus3MSF4vyG%Yck*hhklR7O!?62Kx+MWD_{Fi+Hj_TnL0?2A-W$O!E#2Ei8tNqvG2@ zdNyWH0n>V^Om4Y24T3gcbAC>+EQo#j##n#Z)lvc;HvFC`qMC27D{7oX~h%`kd z^pEnBYgOdKzw=^6Oh@LM7a~vcp5HJpHQxb$A?lS#!S}$H8HoBsckI8$BKD8Qk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w|l{2XlFb#Gcg-HIKGQjGTzZ**eGYJ_DF_;SX~-# z^o+LUx}6?$Fs97})dMNG+xlVxdn*m)j5Sa&=b+K0Un_}`h3 zKR7S2p#06runY2`^N;*H@j%{59$g(teZ=LR%tm7ni%!GCpoVA*A_IL8y5k9{72aGuSy0)3)wkkt diff --git a/build/test/out/test_quizduell.out b/build/test/out/test_quizduell.out index f0d9177a5b87143e538fe754d85882d63a302008..36079241acb9c925682909269bfbdbb88234f2a5 100755 GIT binary patch delta 18776 zcmeHvd3+RA_HW(lbZ1XGE7^cfLP*#H1PF`JEJ+#&&;b$y2uUP?pdo}T2q<)hO=3U- zSGkC&32xw^6A7~EIE|t(Gm3Fz7@TpUqhmWbOi)L8$TRPIs;awF2HyMq^ZWhv>SNt= z?)NPB+;f+@RUO>&mFZ8{OikP43P1c^nUut&3X>#tO8uokSx%FdNRqT~_rcL})u`Q< z$0dH`hr0V}m86qKcLlVGNym04#uwyK^tf@-)M*%oli|sUxPqg#CtC*nT{Hz z0Dci5X6QwNe$Ou$QkftB0c8yD;}aM11og`fF%3mrTeiu+tnbg$|^Od~SceEqh z<1*+}Uy7&bPQ*3|^1+H^tFtZ*mAyC&<)`_2zuu0I*O7u`L)sDmzO7a# zpF|AOX-eZM;=0;hpJFVbpg9J|=crwb8lki$+jbgb{&!awWr?tlH`C=5H)$ zb2@B13CitWnbW=UIsdi)ck=N9-W-rAA1UCM15)LA1>6ugQI0R*Qv>tl@_Br3V18^~ zE|aD=oTc6`$Zhz#E2LkP#!ss&Yw=y|1T zO|$K^GgS9cwZTqQaO~((0yjJDl%?jmN{0hoyA+KqGbT)fOC7%n z-SpPZ<(~!*WaGJiND6zYZCFSvlegya&qAZ7R_0-Vs$uRb1$SkZtuf0SdR&?iP#1lQ zwi(wfQm7g!g@P|m9V}}*1>M;6@XRuMWjIP6$Oub8!0I6 zCz68ZegvV4`!qYB7*_2#Hivq>!MxECNu=+_Ub0Z0-kkHfK zy(CoHDc%Q<&qDD{L0ekD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%>0`-i{2p}aoq=?jYB`yQft?Tt#Ahv~K z?=IGF++E-^bpiJRN!69|Ng$QFC@%uJxIlEn!@^VGojU1%0YMgC_4xrv8+1HX4e0mF zJ5XN@ftpr~Tf~YM>=4-y)aU{f0J*3`Du5i(&4>*^D4wTS+kuqm_Jaq2bZg-#tRy{6 zh|bSzO8}7*&)B{V}x(|pI5|7Rkseqj5q-T6y1Jb3-_B40=;?TR|QASrPp6xRuzi@Mx?08+23zX@sVLmHkjiUC50XY~)aDu5R< z#Q~_T(0keB1F3BE?&NYH`*iu&0rA`?)n7O$pDyWpphIQxgntYO9UkOWs{>C#x}N>X ziotdx#hP!k&b1RdG{T;$_W-f#>Jb!=D(ZCl1KFtS#;ADgX$PU?xntR&6& zH7cYFUksgjx>DByvFpO$1w_(W?F3@cO~OM!9Oi}I#Xm-7=so^vbFK?Wq)z8ELUgVT z{eie^22;rj#4|vIOafwN-Zh&8n$E``(8ie41^L52roL TCL0eoy}(A955N5i^Oye@Ue@8M diff --git a/build/test/results/test_casualQuiz.pass b/build/test/results/test_casualQuiz.pass index c2a7f76..3054f36 100644 --- a/build/test/results/test_casualQuiz.pass +++ b/build/test/results/test_casualQuiz.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.016023700000005192 +:time: 0.016471099999989747 diff --git a/build/test/results/test_quizduell.pass b/build/test/results/test_quizduell.pass index 6bdebc1..b2a7928 100644 --- a/build/test/results/test_quizduell.pass +++ b/build/test/results/test_quizduell.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.029750499999977364 +:time: 0.030837499999961437 diff --git a/build/test/results/test_timequiz.pass b/build/test/results/test_timequiz.pass index dec4f9d..5c20d1a 100644 --- a/build/test/results/test_timequiz.pass +++ b/build/test/results/test_timequiz.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.016164499999945292 +:time: 0.01623769999991964 diff --git a/build/test/results/test_wwm.pass b/build/test/results/test_wwm.pass index c4a08c4..b1bec0d 100644 --- a/build/test/results/test_wwm.pass +++ b/build/test/results/test_wwm.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.01664180000000215 +:time: 0.01627900000005411 diff --git a/src/quizduell.c b/src/quizduell.c index 7672658..6ddb0e4 100644 --- a/src/quizduell.c +++ b/src/quizduell.c @@ -23,6 +23,13 @@ void zeigeVerfuegbareKategorien(Kategorie kategorien[]) { 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() { printf("Welcome to the singleplayer quizduell!\n");