diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/Info2-Pr-Doble-Spiel.iml b/.idea/Info2-Pr-Doble-Spiel.iml new file mode 100644 index 0000000..bc2cd87 --- /dev/null +++ b/.idea/Info2-Pr-Doble-Spiel.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/editor.xml b/.idea/editor.xml new file mode 100644 index 0000000..226ca24 --- /dev/null +++ b/.idea/editor.xml @@ -0,0 +1,580 @@ + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..7ec179e --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/doble_initial.exe b/doble_initial.exe new file mode 100644 index 0000000..8174378 Binary files /dev/null and b/doble_initial.exe differ diff --git a/highscores.txt b/highscores.txt index 4edd5a7..dc3e92c 100644 --- a/highscores.txt +++ b/highscores.txt @@ -1 +1,3 @@ +player_name;18989 +player_name;4983 player1;3999 diff --git a/stack.h b/stack.h index f7d542d..b39d768 100644 --- a/stack.h +++ b/stack.h @@ -8,6 +8,11 @@ The latest element is taken from the stack. */ #include //TODO: passenden Datentyp als struct anlegen +typedef struct StackNode +{ + void *data; + struct StackNode *next; +}StackNode; // Pushes data as pointer onto the stack. StackNode *push(StackNode *stack, void *data);