I'm confused why you have a method: Card() that looks like the Constructor in the Card class?
Plus there are several other methods (setFaceName(), setSuitName() and others ) that are in the Card...
Type: Posts; User: Norm
I'm confused why you have a method: Card() that looks like the Constructor in the Card class?
Plus there are several other methods (setFaceName(), setSuitName() and others ) that are in the Card...
The code you posted does NOT have a definition for the Card class.
There needs to be a statement like this:
class Card ....
You have a method named Card that looks like a constructor.
I...
Can't get the program to compile. Need the Card class definition.