Question: Manage Variable Objects Using Vector and Multiple Classes Solve problem, design solution and implement using C + + classes and objects Learn how to manipulate

Manage Variable Objects Using Vector and Multiple Classes
Solve problem, design solution and implement using
C++ classes and objects
Learn how to manipulate a list of C++ objects using vector class
Use C++ stream to read in data and format output
Description:
Write a command-driven program named "ManageVariableObjects" that will accept the following commands:
display the current value of the variable in the following format )>(
Solve problem, design solution and implement using
C++ classes and objects
Learn how to manipulate a list of C++ objects using vector class
Use C++ stream to read in data and format output
Description:
Write a command-driven program named
"ManageVariableObjects" that will accept the
following commands:
C++>
vector class.
It means that the Variable object is outside the vector object and you must create the objects using "new" operator.
6. Simple error check for variable names: cannot start with a digit.
7. There must be at least 5 functions including main()
8. Please do not use arrays. You must use the C++ vector class to manage the list of object pointers.
9. The vector must be a private data member in the "VariableListManager" class. No vector class and object can be referenced or used outside the VariableListManager class.
10. Please minimize redundant code. Please write functions if you need to perform the same tasks multiple times.
11. There should be at most one return statement in each function.
12. Please do not iterate through the list in the vector more than once for each task and please do not iterate to the end of the list unnecessarily.
and not to keep track of its actual number of variables separately because the vector object has its size.
14. You can assume that the user enters the variable assignment correctly (e.g. correct '=' operator and integer value separated by blanks)
15. All data members must be declared private in the class.
16. The "Variable" class must not provide the default constructor.
Sample output of a program run:
Please note that the output of the proj
Here is the new additional run and outp C:> ManageVariable0bjects
Please enter variable assignment, varia 1count
Undefined
count
Undefined
count =10
count (10)
 Manage Variable Objects Using Vector and Multiple Classes Solve problem, design

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!