I'd say use a struct to make a card variable type, so you can have a suit and a value (1-13). Then make a deck array  and a second deck for shuffling purposes. Then use a for loop to assign values to each of the cards. Then shuffle the deck by randomly picking a card in the deck, and putting it in the second deck, and erasing it from the first deck. You can use a for loop for this as well.