2023 There are two parts to this assignment First you should refactor your class to only have private data | Assignment Collections
Computer Science 2023 C++ Three Classes Menu For Game
2023 There are two parts to this assignment First you should refactor your class to only have private data | Assignment Collections
There are two parts to this assignment. First, you should refactor your class to only have private data members and a public interface using getters/setters as necessary. If your class uses helper functions, then make sure they are appropriately declared as private so a user cannot inadvertantly call one of them. Be sure to add const
where appropriate for all functions and parameters do not modify the corresponding values.
Second, you must acquire three other magic items from your classmates to use (see the next section). Include their .h and .cpp files into your project. Then in your main.cpp create objects of these new classes. You can then present the user with a menu as to which magic item they want to use or use all four in sequence.
Functional Requirements
To receive full credit, the following requirements must be met:
- Your “magic item” class should have at least two data members and, in addition to constructors and getter/setter functions, at least three other member functions. One of these other functions should be an
introduction()
function that tells the user how to use the “magic item” to win a prize. - Both files associated with your “magic item” class should include your name.
- Your
main.cpp
must use at least three “magic items” written by others (in addition to your own), as well as let the user know whether he/she won the prize.
I uploaded all the needed .cpp and .h files including my own and the main.cpp where the game needs to be
We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.