Computer Programing

Completed Posted Dec 7, 2013 Paid on delivery
Completed Paid on delivery

This is a final project for my intro to C++ Class. I am stressed for time and nothing seems to be working for me.

You are to write a program that runs a Rent-A-Car company. Your program should have the followings:

Define an array of 20 CRentalVehicle elements.

Define an array of 20 CCustomer elements.

A variable to keep track the actual total number of vehicles in the fleet. Remember to initiate it to 0.

A variable to keep track the actual total number of customers. Remember to initiate it to 0.

A function to initialize the array of CRentalVehicle elements. This function should be called first in the main. It reads information from the file [url removed, login to view] (There are only 8 vehicles originally as homework 12).

A function to initialize the array of CCustomer elements. This function should be called second in the main. It reads information from the file RentedVehicle.txt. If the file does not exist or is empty, it means none of the vehicle rented.

A menu to drive the program with the following options:

· List all the vehicles.

· Add new vehicle into fleet.

· Remove a vehicle from the fleet (based on Vehicle ID).

· List all available vehicles.

· List all available vehicles which have a specific number of seats.

· List all available vehicles from a specific brand.

· List all rented vehicles.

· List customer information (based on the last name).

· List customer information of a specific rented vehicle (based on Vehicle ID).

· Rent a vehicle. (Add new customer to the customer array, update the status of the vehicle in the vehicle array based on its ID)

· Return a vehicle. (Remove the customer from the customer array, update the status of the vehicle in the vehicle array based on its ID)

· Quit

Implement all of the functionalities in the menu. Remember that you have to use the member functions of classes in homework 10, 11, 12 and project 4 as much as you can to implement these functionalities.

For adding or removing vehicle to/from the fleet, remember to update the file [url removed, login to view] with the current vehicles in the fleet.

For renting or returning a vehicle, remember to update the file [url removed, login to view] with the current list of customers and the file [url removed, login to view] with the current status of vehicles in the fleet..

You can add any supporting function to any class for your project.

You will get 5 bonus points if you put all the requirements into a class. Name your own class. Of course, you have to rewrite the function main().

You will get 20 bonus points if you use linked list instead of arrays.

I have already created the classes and the .txt documents, I just need the main function written. I would like the bonus points if possible but if not within the time constraints that is okay

NEEDS TO BE COMPLETED BEFORE 5PM ON DECEMBER 10TH, 2013

C Programming C++ Programming

Project ID: #5207506

About the project

2 proposals Remote project Active Dec 7, 2013

Awarded to:

dpappu131

hello , plz message me for more details . thanx , waiting for your reply . regards . ................................

$111 USD in 2 days
(1 Review)
1.3

2 freelancers are bidding on average $133 for this job

romeliasaineh

Hire me.. Hire me.. Hire me.. Hire me.. Hire me.. Hire me.. Hire me.. Hire me.. Hire me.. Hire me.. Hire me.. Hire me.. Hire me.. Hire me.. Hire me.. Hire me.. Hire me.. Hire me..

$155 USD in 3 days
(0 Reviews)
0.0