Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 105,761 C++ Programmers for FREE! Ask your question and get quick answers from experts. There are 1,751 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Ticket Reservation System...help me

 
Reply to this topicStart new topic

Ticket Reservation System...help me

7ooda
post 8 Dec, 2007 - 09:48 AM
Post #1


New D.I.C Head

Group Icon
Joined: 8 Dec, 2007
Posts: 1



Dream Kudos: 50
My Contributions


hi evry body
i need help pleas
i need a program in c++
about Ticket Reservation system
pleas help me

this is the informaton
CODE
Ticket Reservation System
You are asked to implement a ticket reservation system for a travel agency so that staff can book flights for their passengers.
You are required to use CPP principles you have learned from the class to implement and to realize the basic system functions. The principles includes:
-    ADT
-    composition
-    Inheritance (single and multiple if any)
-    Polymorphism
-    Exception handling
-    Well code organization (separation the declaration and implementation)
-    Author's documentation
/*
Class name:  
Author:
Date:
Modf:
Description:

Interface:

Tack:
Return:
*/
-    File processing
-    ect
There are 3 phases in this project: phase1(due xx/11/07), you are required to submit the initial user interface and the UML notation  [using Rational rose ] of basic classes. Phase 2(due xx/11/07), you are required to implement the UML notation with updating if any. After phase 2 you may have chance to discuss with the TA during your lab section time and any time if the time of the TA excuse.   Phase 3 the final version to be submitted before XX/12/07,

This is a description of Ticket Reservation Office, where any passenger can reserve a ticket for his/her journey. The agency has 2 type of employee, staff/assistance/clacker and administrator each with a specific operations

Staff operations:  

The ticket reservation agency assistant can use the system to:
1.    Reserve tickets.
2.    Query for suitable flights.
3.    Modify reservation.
4.    cancel reservation


When reserve ticket option is chosen, the assistant will ask the passenger(s) for the following:
-    Departure and destination information (city, airport ………)
-    date and time of the flight
-    type of the flight (One-way or Return)
-    Type of class (first class, second ….)
-    number of tickets (for adults and children)
-    Personal information for each person (name, age, ………..)


Before insertion the personal information, the system checks availability of the flight and display the ticket price for this flight.

When query option is chosen, the system prompts the assistant to choose search by:
-    destination
-    destination and time
-    destination and number of tickets
the result of searching is a list of available flights according the searching attribute.

When modify reservation option is chosen …
    you can update or change any attribute of data that you had entered before.

When cancel reservation option is chosen to cancel the reservation.

Ticket Reservation System stores Airplane information (name,  capacity, no of seats of each class…..)
For each Flight, there are two types of list main list and reserved list , the first is with 20 seats for each class, and the second is with 6 seats. If one of passenger of main list decided to cancel reservation, one of the reserved list would travel .
The system stores the two lists, and any related information (passenger name,  ) and uses the related information from Flight and Airplane .


Administrator  operations:  
       1 - Add Flight
       2 - Delete Flight
       3 - Modify flight
       4 - report: cancelled reservation (period)
       5 - report: cancelled reservation (flight)
       6 - report: reservation by staff

Add flight
   The administrator enter the information of a new flight line ( departure, destination, …..) to the stored data.
Delete Flight\
    An existing flight to be removed from the flight list which stored in the system.
Modify flight
   All or part of the information of a stored flight to be changed

ReportingOne role of the administrator of the system to monitoring the reservation process, one way is report generations.
Report: cancelled reservation (period)
   For this operation the administrator to generate a report about the reservation where cancelled during an interval (start to end time)
Report: cancelled reservation (flight)
     A report to be generate for the cancelled reservation of a specific flight
Report: reservation by staff
     A report to list all reservation where cancelled by a specific staff.



i'm wating
User is offlineProfile CardPM

Go to the top of the page


NickDMax
post 8 Dec, 2007 - 03:08 PM
Post #2


2B||!2B

Group Icon
Joined: 18 Feb, 2007
Posts: 2,672



Thanked 26 times

Dream Kudos: 475
My Contributions


Moved to the C++ forum.

Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Post your code like this: code.gif

Thanks.
User is offlineProfile CardPM

Go to the top of the page

Reply to this topicStart new topic
Time is now: 8/21/08 01:29PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month