|
|
@ -30,10 +30,13 @@ void casualQuiz() { |
|
|
|
int answered = 0; |
|
|
|
int* correctP = &correct; |
|
|
|
int* answeredP = &answered; |
|
|
|
|
|
|
|
activePlaying(easy_fragen, *easy_antworten, easy_richtigeAntworten, length_frag_array, answeredP, correctP); |
|
|
|
printf("korrekte Antworten: %d\n", correct); |
|
|
|
printf("bei: %d beantworteten Fragen", answered); |
|
|
|
bool already_played = false; |
|
|
|
bool end = false; |
|
|
|
while (end == false){ |
|
|
|
activePlaying(easy_fragen, *easy_antworten, easy_richtigeAntworten, length_frag_array, answeredP, correctP); |
|
|
|
printf("korrekte Antworten: %d\n", correct); |
|
|
|
printf("bei: %d beantworteten Fragen", answered); |
|
|
|
} |
|
|
|
return; |
|
|
|
} |
|
|
|
void activePlaying(char* fragen[], char* antworten[], int richtige_antwort[], int size, int* answeredP, int* correctP) { |
|
|
|