diff --git a/src/main.c b/src/main.c index 01f1888..a398c68 100644 --- a/src/main.c +++ b/src/main.c @@ -5,20 +5,20 @@ typedef struct { const char* question; char answer[256]; -}Question; +} Question; typedef struct { int size; Question questions[12]; -}Level; +} Level; typedef struct { int size; const char* name; Level lvlQuestions[10]; -}Category; +} Category; int main() { @@ -166,12 +166,8 @@ int main() Question fussQst118 = {.question = "Welche Fussballmannschaft hat die Champions League Saison 2012/2013 gewonnen?", .answer = "FC Bayern Muenchen"}; Question fussQst119 = {.question = "Welche Fussballmannschaft hat die Champions League Saison 2011/2012 gewonnen?", .answer = "Chelsea FC"}; Question fussQst120 = {.question = "Welche Fussballmannschaft hat die Champions League Saison 2010/2011 gewonnen?", .answer = "FC Barcelona"}; - Level fussLevel10 = {.questions = {fussQst109, fussQst110, fussQst111, fussQst112, fussQst113, fussQst114, fussQst115, fussQst116, fussQst117, fussQst118, fussQst119, fussQst120}, .size = 12}; // size = anzahl an FragenS - - - Category fussball = {.size = 10, .name = "Fussball", .lvlQuestions = {fussLevel1, fussLevel2, fussLevel3, fussLevel4, fussLevel5, fussLevel6, fussLevel7, fussLevel8, fussLevel9, fussLevel10}}; // size = anzahl an leveln in Kategorie Category categories[4] =