StackNode strcut definiert

This commit is contained in:
silvana884 2025-12-03 11:13:06 +01:00
parent 1536413888
commit fc5f249554
3 changed files with 6 additions and 0 deletions

BIN
doble_initial.exe Normal file

Binary file not shown.

View File

@ -1 +1,2 @@
Silvana;9944
player1;3999

View File

@ -8,6 +8,11 @@ The latest element is taken from the stack. */
#include <stdlib.h>
//TODO: passenden Datentyp als struct anlegen
typedef{
int* data;
unsigned int *fol;
unsigned int *prev;
}StackNode;
// Pushes data as pointer onto the stack.
StackNode *push(StackNode *stack, void *data);