From 8d4d8b5492a37d7dcea3acff84ec149249c1d1f5 Mon Sep 17 00:00:00 2001 From: Pascal Schneider Date: Mon, 5 Feb 2024 23:42:41 +0100 Subject: [PATCH] =?UTF-8?q?Funktion=20f=C3=BCr=20Anzeige=20von=20Fragen=20?= =?UTF-8?q?und=20Antworten=20Struktur?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/timequiz.c | 4 ++++ src/timequiz.h | 1 + 2 files changed, 5 insertions(+) diff --git a/src/timequiz.c b/src/timequiz.c index 9923be4..223be16 100644 --- a/src/timequiz.c +++ b/src/timequiz.c @@ -8,6 +8,8 @@ void timequiz(); int getRandomQuestionIndex(int askedQuestions[], int totalQuestions); +void displayQuestion(char* question, char* answers[], int correctIndex); + void timequiz() { printf("Welcome to our Time Quiz!\n"); @@ -69,3 +71,5 @@ int getRandomQuestionIndex(int askedQuestions[], int totalQuestions) { return questionIndex; } +void displayQuestion(char* question, char* answers[], int correctIndex) { +} diff --git a/src/timequiz.h b/src/timequiz.h index 8f8989e..ef57d5f 100644 --- a/src/timequiz.h +++ b/src/timequiz.h @@ -3,5 +3,6 @@ void timequiz(); int getRandomQuestionIndex(int askedQuestions[], int totalQuestions); +void displayQuestion(char* question, char* answers[], int correctIndex); #endif //ende TIMEQUIZ_H