hi all, i want to create a struct with the deck of card in it however I don't know how I would do it since I'm trying to make both face and suits an int value and when calling for example face = 3 and suit = 1 it would give me: 3 of Diamonds. Something like that. Help would be appreciated.. Thank you have a great day!
Why a Deck? When you request for a particular card, what do you get from the Deck? An int?
Or perhaps a Card?
But what do you need the Deck for then?
Any container can hold a pile of Cards.
Whenever you need a particular Card, you can create one.