Ok, the Card class is fine. In the part your code goes here you need to instantiate a Card object and assign it to an element in the deck array.
What are your doubts? Think: the Card constructor...
Type: Posts; User: andbin
Ok, the Card class is fine. In the part your code goes here you need to instantiate a Card object and assign it to an element in the deck array.
What are your doubts? Think: the Card constructor...
First, you need a Card class. I don't know (it depends on the requirements) if this class is given to you or if this class is up to you. I suspect the latter, so you have to create a Card class. And...