Added function to fill the deck.

This commit is contained in:
Murilo Soares Pereira
2010-04-06 22:52:00 -03:00
parent 90c7ce6280
commit b94341b70d
3 changed files with 71 additions and 2 deletions

View File

@@ -3,6 +3,8 @@
#include "stack.h"
#define NUMBER_OF_CARDS 52
struct deck {
struct stack *stock;
@@ -23,6 +25,6 @@ struct deck {
void allocate_deck(struct deck **);
void initialize_deck(struct deck *);
void delete_deck(struct deck *);
void shuffle_deck(struct deck *);
void fill_deck(struct deck *);
#endif