mirror of
https://github.com/theoleuthardt/learningC.git
synced 2026-06-13 09:37:53 +00:00
Initial commit
This commit is contained in:
commit
826d4c8c9d
81 changed files with 7268 additions and 0 deletions
19
exam/exam_modules/list.h
Normal file
19
exam/exam_modules/list.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue