Find Jobs
Hire Freelancers

C++ Homework help

$30-5000 USD

Cancelado
Publicado hace más de 17 años

$30-5000 USD

Pagado a la entrega
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), [login to view URL] (this contains the file functions involving reservations), [login to view URL] (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.
ID del proyecto: 3954502

Información sobre el proyecto

6 propuestas
Proyecto remoto
Activo hace 17 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
6 freelancers están ofertando un promedio de $43 USD por este trabajo
Avatar del usuario
See private message.
$38,25 USD en 1 día
5,0 (169 comentarios)
6,3
6,3
Avatar del usuario
See private message.
$63,75 USD en 1 día
5,0 (35 comentarios)
5,6
5,6
Avatar del usuario
See private message.
$63,75 USD en 1 día
5,0 (44 comentarios)
4,6
4,6
Avatar del usuario
See private message.
$51 USD en 1 día
5,0 (12 comentarios)
4,2
4,2
Avatar del usuario
See private message.
$29,75 USD en 1 día
5,0 (18 comentarios)
3,5
3,5
Avatar del usuario
See private message.
$8,50 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
United States
0,0
0
Miembro desde dic 8, 2006

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.