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