Question: C++ Question Create a class for a card in a deck of playing cards. The object must contain methods for setting and retrieving the suit
C++ Question
Create a class for a card in a deck of playing cards. The object must contain methods for setting and retrieving the suit and the type of card (type of card meaning 2,3,4,5,6,7,8,9,10,J,Q,K,A). Separate the declaration of the class from its implementation by using the declaration in a header file and the implementation in a .cpp file. Also create a driver program and a makefile which complies the code and makes it able to run.
This is more basic programming so please keep it simple and use things like:
namespace std, use cout/cin instead of printf, and please leave simple comments explaining what you're doing in the code. Please just label which part of the code it is since you can't send files on here.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
