|
|
@ -29,7 +29,7 @@ void activePlaying(char *fragen[], char *antworten[], int richtige_antwort[], in |
|
|
|
FzeigeFragen(fragen, i); |
|
|
|
FzeigeAntworten(antworten, i); |
|
|
|
printf("Please type in your answer 1,2,3 or 4: "); |
|
|
|
scanf_s("%d", &eingabeInt); |
|
|
|
|
|
|
|
printf(" %d\n", richtige_antwort[i]); |
|
|
|
} |
|
|
|
} |
|
|
@ -41,4 +41,9 @@ void FzeigeAntworten(char *antworten[], int index){ |
|
|
|
printf("2) %s\n", antworten[4 * index + 1]); |
|
|
|
printf("3) %s\n", antworten[4 * index + 2]); |
|
|
|
printf("4) %s\n", antworten[4 * index + 3]); |
|
|
|
} |
|
|
|
int FEingabeInteger(){ |
|
|
|
int eingabeInt; |
|
|
|
scanf_s("%d", &eingabeInt); |
|
|
|
return eingabeInt; |
|
|
|
} |