1. Engineering
  2. Computer Science
  3. c question create a class for a card in a...

Question: c question create a class for a card in a...

Question details

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.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution