Initial commit

This commit is contained in:
theoleuthardt 2024-01-27 02:07:15 +01:00
commit 826d4c8c9d
81 changed files with 7268 additions and 0 deletions

19
exam/exam_modules/list.h Normal file
View file

@ -0,0 +1,19 @@
#ifndef EXAMTEMPLATE_LIST_H
#define EXAMTEMPLATE_LIST_H
struct gameData{
char choice1[10];
char choice2[10];
int winner; // Spielerzahl als Ergebnis (1 oder 2, 0 = unentschieden)
struct gameData *next;
};
void addGame(char choice1[10], char choice2[10], int winner);
int size();
void *getGameData(int index);
int countGames();
void printGameData();
void statistics();
#endif //EXAMTEMPLATE_LIST_H