Alright, so I have my blackjack code slowly developing. Now, I have a vector of cards which is my deck. It is called:
[code]vector v;[/code] I also now have a vector for the dealer's hand and a vector for the player's hand:
When I deal a card, I have to take the top card in the deck and put it into the 0th spot in the player's hand, then the next card into the 0th spot in the dealer's hand. I've tried various things with no success. Can someone help me figure out basically how to say:
[code]v = dealer;
v = user;[/code]
Where the 0th element of the deck vector is removed from the deck and placed into the respected hands? Thanks!