From 852c03b5d79d6710f117b90a91c23cfd2354a5f1 Mon Sep 17 00:00:00 2001 From: Florian Baeseler Date: Fri, 9 Feb 2024 20:29:52 +0100 Subject: [PATCH] =?UTF-8?q?refactoring:=20hochz=C3=A4hlen=20der=20z=C3=A4h?= =?UTF-8?q?lervariablen=20durch=20pointer,=20kompakter=20gemacht?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/test/out/c/casualQuiz.o | Bin 14369 -> 14213 bytes build/test/out/test_casualQuiz.out | Bin 125166 -> 125166 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/casualQuiz.c | 9 +++------ 7 files changed, 7 insertions(+), 10 deletions(-) diff --git a/build/test/out/c/casualQuiz.o b/build/test/out/c/casualQuiz.o index f6610de4e02489137e70e2c24dd76bc27f863e91..b947da28a1aec41e4ed4c27eb4b127f7dc7542ea 100644 GIT binary patch delta 1916 zcmYjSZ){Ul6hHUAzP_%n+uC((ZP&H0Ygs$pA6SYw7zk{gEDW*`kSKqaZSA^3ZK3OA z1IGA($N~mlE|{nj*@q>@7-H;*N+L=mqA@1M#6)6D1c_hvK}`%F<_A6Zz3t*n-aWtj zJAdxE=biiB+|gI__T;$=;N!z~-R`r44WOF>%*OQA25Yw+;L+3i3qA5#w20_)QTaUw zK&Sp)*xFnUaIQ^%++c041^A?m1xUbEhwhKO09V!+F(Jlwl3Hsk2K+a~4wFW?C4zC- zRT7pDB6^m6M#A*VM)r_25)XSos#!gClO3hC^gbnfOR9X8l0Bt4Wr}poe7${UucvP& zp`A}S&rCU?sBOQH@LYh``w0g#PMo!sr8eVST^ajHJ303hSx_yK)zdx~>5}WWb zwxu>pGCw|)O`)e{B%2?^=MVJ8ltG*^cw(&q$S}tN&QQb!RjO8YC>13w@t<@(j zxZeiO4+YI=K-leop9I*?fhPK?g;|5oM5&BcQEs)*&oO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TWG$g~gW;oU%67=5@KmxI@ST%|)F z!;>m=51t}_eU=t#hcfIN49rnFq{i%^Au44rx^3EzZWkCCp931V4`>6UcNn=I07}>o zw3bl=(2nN;Mm+~=HKS9E?l6iw0JP!-pc9PZUqlwaZlY-Q;PW^?#!OZDJgwABnW|+I z4OS1l05Zs-9C|_D_G4b8%h>%83sluhv|lr4+8+h0E6Hd#WaG9|%chXGI{Px+2kw)X zaUo=?wwEc{Ff0?BT8&A?%o{VvpbGKb*slaXOYm!qCQ8c7^sk*8mF*Qu_A6;W0(_eC z@g=BHc^|}~v8d$-X$Uo{*ALQO8m6YaN<%b}sW!e!GpXtLm#>mH`CaYM`xag>4=H*b z{*`L~>j+Y-d=F7NEmH-DkYIzVIfNI8E2{c1?zcVa(qRm6LUlRVBCtaHd;k#>bMPoFR0E(G0X+E>L|1rb@?blwW_c;;PRq+<_${s z+o{i-U-I~GkQtLy?#D3Hi)u8BnB(QgXdn$e)M3c}J%kAA&~p+P(SgYX({%i^;}k}I zE$#K?Q8q{5*9zrZ&*4>4J*IwD71U!{PpB~`^$e>|BHv2&)k*pj>haQ>Sfa@G;JJ^M z7L?_1qBq~f?Bdm&QwXtBtzj`!9XLgWnkhqdIgOQArV3BvrK6=i`z2+iMfheW_Ncw5 zv0}yyb>%c(T(I-*K>7t`IyV9*T7<`rSq(fxHZ0CJXOKm0d!XFX9OQuCOpZsNrE^jL E28zvW5&!@I diff --git a/build/test/results/test_casualQuiz.pass b/build/test/results/test_casualQuiz.pass index 9a74d66..df45a03 100644 --- a/build/test/results/test_casualQuiz.pass +++ b/build/test/results/test_casualQuiz.pass @@ -66,4 +66,4 @@ - Wrong Input! - Wrong Input! - It looks like you havent played the program yet, starting it up... -:time: 0.036940200021490455 +:time: 0.03672930004540831 diff --git a/build/test/results/test_quizduell.pass b/build/test/results/test_quizduell.pass index bc71a11..97738d8 100644 --- a/build/test/results/test_quizduell.pass +++ b/build/test/results/test_quizduell.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.015534000005573034 +:time: 0.01680129999294877 diff --git a/build/test/results/test_timequiz.pass b/build/test/results/test_timequiz.pass index eecd65d..406e8d0 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.013401199947111309 +:time: 0.01873749995138496 diff --git a/build/test/results/test_wwm.pass b/build/test/results/test_wwm.pass index 3fb8737..d4f5fbd 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.013157300068996847 +:time: 0.01488869998138398 diff --git a/src/casualQuiz.c b/src/casualQuiz.c index dc0ef9a..116bead 100644 --- a/src/casualQuiz.c +++ b/src/casualQuiz.c @@ -147,14 +147,11 @@ bool fcheckaufRichtigkeit(int eingabe, int richtige_antwort[], int i) { } void fzaehlernachAuswahl(bool richtig, int* answeredP, int* correctP) { if (richtig == true) { //wenn dei eingabe von vorhin richtig war - int plus = *answeredP + 1; - *answeredP = plus; //hochzählen von der zählervariablen für beantwortete fragen um 1 - int add = *correctP + 1; - *correctP = add; //hochzählen von der zählervariablen für korrekte antworten um 1 + *answeredP = *answeredP + 1; //hochzählen von der zählervariablen für beantwortete fragen um 1 + *correctP = *correctP + 1; //hochzählen von der zählervariablen für korrekte antworten um 1 } else { //wenn die eingabe von vorhin falsch war - int plus = *answeredP + 1; - *answeredP = plus; //hochzählen von der zählervariablen für beantwortete fragen um 1 + *answeredP = *answeredP + 1; //hochzählen von der zählervariablen für beantwortete fragen um 1 } return; }