This commit is contained in:
Max-R 2025-12-05 10:21:00 +01:00
parent 735195460c
commit 7051134256
2 changed files with 13 additions and 0 deletions

View File

@ -1,5 +1,9 @@
Max02.12;19860
max;19374
Max02.12;11910
kristin;9935
Max02.12;7966
player_name;7961
max;5989
Max02.12;4988
player1;3999

View File

@ -9,6 +9,15 @@ The latest element is taken from the stack. */
//TODO: passenden Datentyp als struct anlegen
typedef struct StackNode {
void *data;
struct StackNode *next;
} StackNode;
StackNode *createNode(void *data);
// Pushes data as pointer onto the stack.
StackNode *push(StackNode *stack, void *data);