Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Deck::Deck()
- {
- for(int r = 1;r<=13;r++)
- {
- Card c(r,HEARTS);
- //add c to your deck
- }
- for(int r = 1;r<=13;r++)
- {
- Card c(r,DIAMONDS);
- //add c to your deck
- }
- for(int r = 1;r<=13;r++)
- {
- Card c(r,SPADES);
- //add c to your deck
- }
- for(int r = 1;r<=13;r++)
- {
- Card c(r,CLUBS);
- //add c to your deck
- }
- }
Add Comment
Please, Sign In to add comment