DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C++ (http://www.daniweb.com/forums/forum8.html)
-   -   Need help for a project (http://www.daniweb.com/forums/thread136761.html)

kneel Jul 25th, 2008 2:16 pm
Need help for a project
 
Project Title: Daewoo (a Bus service) Reservation System
Project Description:
This program is supposed to simulate a Reservation System of Daewoo. Using this program, Daewoo ticket reservation agency assistant can perform different tasks related to ticket reservation.

The Daewoo Reservation System will ask the user for the following information :
• Name of passenger
• Departure City
• Destination City
• Date of travel
• Time of travel
• Number of tickets
The Daewoo Reservation System should have the following features:

1. Make Reservation-to reserve ticket/tickets for a passenger and indicate his/her seat number.
2. Modify reservation-to modify the already made reservation
3. Cancel reservation-to cancel a particular reservation
4. Search reservation- to search reservation information of a particular passenger by
a) Passenger name
b) Date of travel
5. Exit –to exit from application

Daewoo Reservation System should also support persistence for passenger ticket reservation records
Supporting simple persistence by any application requires handling of two scenarios
• On start up of application-data (passenger ticket reservation records) must be read from file.
• On end/finish up of application -data (passenger ticket reservation records) must be saved in file.

Ancient Dragon Jul 25th, 2008 2:29 pm
Re: Need help for a project
 
What part of that do you not understand?

kneel Jul 26th, 2008 8:20 am
Re: Need help for a project
 
Hello,
I've made almost but i don't knw that how to code the following:
4. Search reservation- to search reservation information of a particular passenger by
a) Passenger name
b) Date of travel
kindly help me...
thx

Salem Jul 26th, 2008 8:30 am
Re: Need help for a project
 
Maybe ask your friend?
http://www.daniweb.com/forums/thread136471.html

A search is just
- a for loop over the array of data
- an if statement to compare each one with whatever it is you're looking for.


All times are GMT -4. The time now is 3:51 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC