Deck of cards using structure

Hi, I'm having a problem about the deck of card. I'm a really beginner of this so plz be nice to me...
So I have set up the program and now I have to deal with setting the cards in to the Deck array to be one of each kind of playing card.
Here's the code that I have got so far.

struct Card{
string face;
string suit;
};
Card deck[52];
int numFaces = 13;
int numSuits = 4;

string faces[numfaces] = {""1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "Jack", "Queen", "King"};
string suits[numsuits] = { "Diamonds", "Clubs", "Hearts", "Spades" };


Now I'm lost about how to push those elements into the Deck array...Got any suggestions?? Thanks!

Topic archived. No new replies allowed.