Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Finish it with c++. (3 pts) Card Class Design and create the.h and .cpp files with accessors and mutators for a Card class. Cards have
Finish it with c++.
(3 pts) Card Class Design and create the.h and .cpp files with accessors and mutators for a Card class. Cards have two properties, suit and rank. The four possible suits are diamonds, clubs, hearts, and spades. There are 13 possible ranks, with the 11 corresponding to "Jack", 12 corresponding to "Queen", 13 corresponding to "King", and 1 corresponding to "Ace". (3 pts) Deck Class Design and create the .h and .cpp files with accessors and mutators for a Deck class. Decks are made up of 52 Cards. The Deck class should have functions for creating the deck (filling it with the traditional 52 cards), shuffling the cards, and printing the entire deck out to the terminal. 2 (3 pts) Implementation Now, create a driver.cpp file that creates a deck, shuffles the cards, and prints out the results. (1 pt) Makefile Create a Makefile that compiles all of your .cpp files and makes an executable showing off their functionalityStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started