Answered step by step
Verified Expert Solution
Question
1 Approved Answer
write a c++ program all in one file please. In this assignment, you are going to build a program that can help rental car companies
write a c++ program all in one file please.
In this assignment, you are going to build a program that can help rental car companies to manage their rental fleet. Requirement: - build vector class as container. - build Car class/structure to represent car objects. - An vector object is to hold Car objects. Car class should have following fields: - id (int) - make (string) - model (string) - color (string)
make up 15 cars and save them into a file: cars.data load these cars' info from the file, initialize 15 Car objects, place them into the vector if new cars are added by user, they should be appended to the cars.data file when exiting the program design a menu based user interface that allows following operations: search by id search by make search by model search by color add a new car (new car id cannot be same as existing ones) delete an existing car by id list all cars exit the program
This is all the information I have please just do the best that can be done.
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