|
@ -20,7 +20,7 @@ void startGame(int catCount, char* input, Category* categories) |
|
|
{ |
|
|
{ |
|
|
for (int i = 0; i < lvlQuestions[level].size; i++) |
|
|
for (int i = 0; i < lvlQuestions[level].size; i++) |
|
|
{ |
|
|
{ |
|
|
printf(lvlQuestions[level].questions[i].question); |
|
|
|
|
|
|
|
|
printf("%s", lvlQuestions[level].questions[i].question); |
|
|
printf(" "); |
|
|
printf(" "); |
|
|
fgets(input, 256, stdin); |
|
|
fgets(input, 256, stdin); |
|
|
input[strlen(input) - 1] = '\0'; |
|
|
input[strlen(input) - 1] = '\0'; |
|
|