35typedef std::deque<std::string, std::allocator<std::string> >
Deque;
43 cards.push_front (
"ace of spades");
44 cards.push_front (
"king of spades");
45 cards.push_front (
"queen of spades");
46 cards.push_front (
"jack of spades");
47 cards.push_front (
"ten of spades");
54template <
class It,
class It2>
58 std::cout << *
start++ << std::endl;
62template <
class It,
class It2>
65 for (
int i = 0;
i < 5;
i++) {
std::deque< std::string, std::allocator< std::string > > Deque
void print_current_hand(It start, It2 end)
void deal_cards(It, It2 end)
void initialize_cards(Deque &cards)