Guest User

Untitled

a guest
Sep 23rd, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  1. Deck::Deck()
  2. {
  3.     for(int r = 1;r<=13;r++)
  4.     {
  5.         Card c(r,HEARTS);
  6.         //add c to your deck
  7.     }
  8.     for(int r = 1;r<=13;r++)
  9.     {
  10.         Card c(r,DIAMONDS);
  11.         //add c to your deck
  12.     }
  13.     for(int r = 1;r<=13;r++)
  14.     {
  15.         Card c(r,SPADES);
  16.         //add c to your deck
  17.     }
  18.     for(int r = 1;r<=13;r++)
  19.     {
  20.         Card c(r,CLUBS);
  21.         //add c to your deck
  22.     }
  23. }
Add Comment
Please, Sign In to add comment