User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 430,126 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,329 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser: Programming Forums
Views: 419 | Replies: 8
Reply
Join Date: Jul 2008
Posts: 3
Reputation: jamshed is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
jamshed's Avatar
jamshed jamshed is offline Offline
Newbie Poster

i need help to prepare my program plz?

  #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.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2006
Posts: 232
Reputation: ssharish2005 is on a distinguished road 
Rep Power: 2
Solved Threads: 18
ssharish2005's Avatar
ssharish2005 ssharish2005 is offline Offline
Posting Whiz in Training

Re: i need help to prepare my program plz?

  #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  
Join Date: Jul 2008
Posts: 3
Reputation: jamshed is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
jamshed's Avatar
jamshed jamshed is offline Offline
Newbie Poster

Re: i need help to prepare my program plz?

  #3  
Jul 24th, 2008
hi tell me what your problem i hope that i can solve it
Reply With Quote  
Join Date: Dec 2006
Posts: 232
Reputation: ssharish2005 is on a distinguished road 
Rep Power: 2
Solved Threads: 18
ssharish2005's Avatar
ssharish2005 ssharish2005 is offline Offline
Posting Whiz in Training

Re: i need help to prepare my program plz?

  #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  
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 11,251
Reputation: Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of 
Rep Power: 38
Solved Threads: 940
Moderator
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Most Valuable Poster

Re: i need help to prepare my program plz?

  #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!!!
Reply With Quote  
Join Date: Jul 2008
Posts: 3
Reputation: jamshed is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
jamshed's Avatar
jamshed jamshed is offline Offline
Newbie Poster

Re: i need help to prepare my program plz?

  #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  
Join Date: Jul 2008
Posts: 30
Reputation: your uptime is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 1
your uptime your uptime is offline Offline
Light Poster

Re: i need help to prepare my program plz?

  #7  
Jul 26th, 2008
sorry its hard for me to answer
Reply With Quote  
Join Date: Dec 2005
Posts: 3,671
Reputation: Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of 
Rep Power: 22
Solved Threads: 420
Colleague
Salem's Avatar
Salem Salem is offline Offline
void main'ers are DOOMed

Re: i need help to prepare my program plz?

  #8  
Jul 26th, 2008
You need to do more than just reposting your assignment!
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
Do not PM me for help; You'll be ignored, or told to learn to read.
Do not ask me if I'm muslim - I'm not. Nor do I care about yours or anyone else's mysticism. Religion is a matrix, take the RED PILL.
Reply With Quote  
Join Date: Dec 2006
Posts: 232
Reputation: ssharish2005 is on a distinguished road 
Rep Power: 2
Solved Threads: 18
ssharish2005's Avatar
ssharish2005 ssharish2005 is offline Offline
Posting Whiz in Training

Re: i need help to prepare my program plz?

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb C++ Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the C++ Forum

All times are GMT -4. The time now is 3:27 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC