int main () { play_poker (); print_current_hand (current_hand.begin (), current_hand.end ()); return 0; }
int main(void) { int n_deals; card deck[52]; printf("Enter number of deals: "); scanf("%d", &n_deals); create_deck(deck); play_poker(deck, n_deals); return 0; }
int Poker(void) { cdhs suit; int i, pips; card deck[52]; for (i = 0; i < 52; ++i) { pips = i % 13 + 1; if (i < 13) suit = clubs; else if (i < 26) suit = diamonds; else if (i < 39) suit = hearts; else suit = spades; deck[i] = assign_values(pips, suit); } play_poker(deck); return 0; }