From 5868f967036b0b06772d7472f6b0d49d1b513cdc Mon Sep 17 00:00:00 2001 From: fdai7899 Date: Thu, 18 Jan 2024 14:11:42 +0100 Subject: [PATCH] fixed faulty function call --- src/main/c/Quiz/top.h | 1 + src/main/c/main.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/c/Quiz/top.h b/src/main/c/Quiz/top.h index 6331180..ffa37aa 100644 --- a/src/main/c/Quiz/top.h +++ b/src/main/c/Quiz/top.h @@ -2,5 +2,6 @@ #define TOP_H void quiz(); +struct Frage erstelleFrage(char *text, char *antwort1, char *antwort2, char *antwort3, int korrekteAntwort); #endif //TOP_H diff --git a/src/main/c/main.c b/src/main/c/main.c index 62ba734..a7fd28b 100644 --- a/src/main/c/main.c +++ b/src/main/c/main.c @@ -32,7 +32,7 @@ int main(){ //start_game2(); break; case 3: - quiz_start(); + quiz(); break; case 4: //start_game4();