C++ Homework help

Cancelled Posted Dec 8, 2006 Paid on delivery
Cancelled Paid on delivery

This is the assignment:

A program called Car Rental System allowing the user access to the main menu with these choices:

Add Reservation

Delete Reservation

Print Reservation

Exit Program

The program needs to do this:

1. Cars should already by available to rent (do not make the user enter in this information).

2. There will be smoking and non-smoking cars; large, mid-sized, and small cars.

3. You do not need to take a deposit to reserve a car rental, but a credit card type and number (with expiration date) is needed.

4. Limit your reservation system to one month out of the year and no more than 10 cars.

5. Clients should be able to make and cancel a reservation. A reservation might extend to 2 days and beyond.

6. If a requested car is not available, display a message denoting that the car is not available.

7. Your system needs to be able to recall and display reservation information.

This is overall a very complicated program, but a lot of it is already complete. I need it done by Saturday afternoon at the latest. This is what we have so far:

clients.h (header file that contains the functions and data for getting personal information), reservations.h (header file that inherits from base class clients that contains reservation objects), [url removed, login to view] (this contains the file functions involving reservations), [url removed, login to view] (this contains the file functions involving the inventory of the vehicles), menu function (this contains the code for the menu function that gives the user the options). The print function that displays the data on the screen for the user to view is started, but not complete, along with the addReservation function and the deleteReservation function.

## Deliverables

**addReservation function**: I have been told by my partner that I need to create a new vector for storing new information. I also need to populate the vector before updating the file. There also needs to be code for looking up to see if the car is available and code decrementing the inventory when a car is rented. There should be a template adding the two strings (smoking and carSize) to make the string carType. There needs to be code checking to make sure the input is valid for the type of car (smoking, carSize, and carType).

**deleteReservation function:** This function needs to have lookup logic, for loop that checks each name to the end of the vector array. Also, once it finds the name, it should find the car type, increment that value, then delete that vector. If it can’t find the name, it should display an error message stating that this name was not found.

**printReservation function:** This should display the output of all reservations that are currently saved. It should display them as shown in the code for this function. I’m just not sure if the code is perfect.

I need the entire program to compile and run well.

I have attached what we have so far in a zip folder.

## Platform

The language is C++ and the compiler I use is Visual C++ 2005 Express Edition. This is the 2nd C++ class I have taken, so it can't look too advanced, but not beginner level either.

C Programming Engineering MySQL PHP Software Architecture Software Testing

Project ID: #3954502

About the project

6 proposals Remote project Active Dec 8, 2006

6 freelancers are bidding on average $43 for this job

marchent

See private message.

$38.25 USD in 1 day
(169 Reviews)
6.3
vulpinesolutions

See private message.

$63.75 USD in 1 day
(35 Reviews)
5.6
vw265236vw

See private message.

$63.75 USD in 1 day
(44 Reviews)
4.6
xamlcoder

See private message.

$51 USD in 1 day
(12 Reviews)
4.2
cpphacker

See private message.

$29.75 USD in 1 day
(18 Reviews)
3.5
hartson

See private message.

$8.5 USD in 1 day
(0 Reviews)
0.0