SHARE
TWEET

Untitled

a guest Dec 8th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int k;                                    
  2. void Deck_Creator(cards* deck) {                                
  3.     for (int i = 0; i < SIZE - (4 * k); i++) {
  4.         deck[i].suit = (Suit)(i / (13-k));
  5.         deck[i].power = (Power)(i % (13-k));
  6.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top