generated from freudenreichan/info2Praktikum-DobleSpiel
StackNode strcut definiert
This commit is contained in:
parent
1536413888
commit
fc5f249554
BIN
doble_initial.exe
Normal file
BIN
doble_initial.exe
Normal file
Binary file not shown.
@ -1 +1,2 @@
|
||||
Silvana;9944
|
||||
player1;3999
|
||||
|
||||
5
stack.h
5
stack.h
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user