Created the 'deck' structure, allocate() and initialize() for all structures.

This commit is contained in:
Murilo Soares Pereira
2010-04-08 01:11:10 -03:00
parent 7e47ca3ccf
commit ecaa2a4c68
11 changed files with 108 additions and 21 deletions
+2 -1
View File
@@ -8,7 +8,8 @@ struct stack {
struct stack *next;
};
void initialize_stack(struct stack **);
void allocate_stack(struct stack **);
void initialize_stack(struct stack *);
bool empty(struct stack *);
int length(struct stack *);
void push(struct stack **, struct card *);