i need help to prepare my program plz?

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2008
Posts: 3
Reputation: jamshed is an unknown quantity at this point 
Solved Threads: 0
jamshed's Avatar
jamshed jamshed is offline Offline
Newbie Poster

i need help to prepare my program plz?

 
0
  #1
Jul 24th, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 251
Reputation: ssharish2005 is on a distinguished road 
Solved Threads: 20
ssharish2005's Avatar
ssharish2005 ssharish2005 is offline Offline
Posting Whiz in Training

Re: i need help to prepare my program plz?

 
0
  #2
Jul 24th, 2008
May be you should really consider lookin back the sticky thread on top of this form.

Is it your homework my friend????

ssharish
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 3
Reputation: jamshed is an unknown quantity at this point 
Solved Threads: 0
jamshed's Avatar
jamshed jamshed is offline Offline
Newbie Poster

Re: i need help to prepare my program plz?

 
0
  #3
Jul 24th, 2008
hi tell me what your problem i hope that i can solve it
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 251
Reputation: ssharish2005 is on a distinguished road 
Solved Threads: 20
ssharish2005's Avatar
ssharish2005 ssharish2005 is offline Offline
Posting Whiz in Training

Re: i need help to prepare my program plz?

 
0
  #4
Jul 24th, 2008
I am sorry, i dont have any problem. Its your problem that you dint read the form rules before asking for help!

ssharish
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,577
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1485
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: i need help to prepare my program plz?

 
0
  #5
Jul 24th, 2008
Write the program just a little bit at a time so that you don't get overwhelmed with all those instructions.

1) Start out by creating a structure that holds the information for one passenger.
2) Then create a 2d array of those structures that represents the seats in an airplain.
3) create the menu with switch statement for choice

When you get all the above done you can write the code that implements each of the menu items -- do them one at a time to make it easier.

And don't try to write all that code at one time before compiling!!!
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 3
Reputation: jamshed is an unknown quantity at this point 
Solved Threads: 0
jamshed's Avatar
jamshed jamshed is offline Offline
Newbie Poster

Re: i need help to prepare my program plz?

 
0
  #6
Jul 26th, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 30
Reputation: your uptime is an unknown quantity at this point 
Solved Threads: 1
your uptime your uptime is offline Offline
Light Poster

Re: i need help to prepare my program plz?

 
0
  #7
Jul 26th, 2008
sorry its hard for me to answer
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 751
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: i need help to prepare my program plz?

 
0
  #8
Jul 26th, 2008
You need to do more than just reposting your assignment!
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 251
Reputation: ssharish2005 is on a distinguished road 
Solved Threads: 20
ssharish2005's Avatar
ssharish2005 ssharish2005 is offline Offline
Posting Whiz in Training

Re: i need help to prepare my program plz?

 
0
  #9
Jul 26th, 2008
Jamshed

Let me honest and polite with you. No one is gonna help you, if you don’t show us what have you have got so far. You need to show some progress.

By the looks of it, it’s not a job which can done straight ways. It would take few hours to get this system working. Or for you, since you’re just a beginner you might take take days to complete.

Ok, let me help you in getting started. From the problem what I can see there, you need to know few concepts like File handling, structures, array. Do you know any of these concepts?

But any way, here are few links for you to get started.

Structures: http://www.cprogramming.com/tutorial/lesson7.html

Arrays: http://www.cprogramming.com/tutorial/lesson8.html

File Handling: http://www.cprogramming.com/tutorial/lesson10.html

Once you are confident, post back. We might be able to help further.

ssharish
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC