learningC/exam/exam_modules/list.h
2024-01-27 02:07:15 +01:00

19 lines
437 B
C

#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