Question
Learning c++ here. Your job is to create a complete program that defines a class with at least three data members and getter and setter
Learning c++ here.
Your job is to create a complete program that defines a class with at least three data members and getter and setter member functions for each, allows the user to create new objects of that class, list the objects created and delete selected objects. The objects of the class should be stored in a vector.
Work with your partner to come up with a useful class that a user would want to keep a collection of objects from. This could be books, music, courses, family members, etc.
The program must continue running and allowing users to view, add and remove objects until they indicate that theyre done.
User input does not need to be bulletproofed.
The main code must be in top-down format with work broken into separate functions, each function prototyped before main and defined after main.
Step 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