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

Join 109,548 C++ Programmers for FREE! Ask your question and get quick answers from experts. There are 1,233 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!



How to creat this program in C++

 
Reply to this topicStart new topic

How to creat this program in C++, How to creat this program in C++

Brain
post 8 Aug, 2008 - 07:53 AM
Post #1


New D.I.C Head

*
Joined: 8 Aug, 2008
Posts: 2

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
cool.gif Date of travel

5. Exit –to exit from applicationDaewoo Reservation System should also support persistence for passenger ticket reservation recordsSupporting 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.
User is offlineProfile CardPM

Go to the top of the page


AmitTheInfinity
post 8 Aug, 2008 - 07:57 AM
Post #2


D.I.C Addict

Group Icon
Joined: 25 Jan, 2007
Posts: 560



Thanked 10 times

Dream Kudos: 125
My Contributions


Step 1: Open C compatible IDE
Step 2: Create New File with extension .c
Step 3: Write main() function and other required functions for given problem
Step 4: Compile the program and see if it's fine, else correct the errors.
Step 5: Run the program.
Step 6: You are done!!!


I hope this will help you. biggrin.gif
User is offlineProfile CardPM

Go to the top of the page

Xarver
post 8 Aug, 2008 - 07:59 AM
Post #3


D.I.C Head

**
Joined: 6 Aug, 2008
Posts: 60



Thanked 2 times
My Contributions


Okay, this sounds like homework.

Oh, and show some effort.
Sounds like your trying to make us program this for you
and we get absolutely nothing out of it.

~ Xarver rolleyes.gif
User is offlineProfile CardPM

Go to the top of the page

Techno Mage
post 8 Aug, 2008 - 08:11 AM
Post #4


D.I.C Head

**
Joined: 10 Jun, 2007
Posts: 53


My Contributions


I'm wondering who has homework in the summer? Well, my girlfriend's got some summer homework but still, it's pretty unusual.
User is offlineProfile CardPM

Go to the top of the page

Brain
post 9 Aug, 2008 - 06:14 AM
Post #5


New D.I.C Head

*
Joined: 8 Aug, 2008
Posts: 2

That was a challange for me and i throw this to you. But i thik no one here is so competent. That's why replies are nothing just look like lame excuses to hide their ignorance and guilty. Anyway Its OK. icon_down.gif
User is offlineProfile CardPM

Go to the top of the page

red_4900
post 9 Aug, 2008 - 06:45 AM
Post #6


D.I.C Addict

****
Joined: 22 Feb, 2008
Posts: 551



Thanked 2 times
My Contributions


rules :

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.

Please post like this:

Thank you for helping us helping you.

challenge for us? what a lame excuses. do you have *insert your name here*?

This post has been edited by red_4900: 9 Aug, 2008 - 06:45 AM
User is offlineProfile CardPM

Go to the top of the page

NickDMax
post 9 Aug, 2008 - 07:29 AM
Post #7


2B||!2B

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



Thanked 34 times

Dream Kudos: 525
My Contributions


QUOTE(Brain @ 9 Aug, 2008 - 06:14 AM) *

That was a challange for me and i throw this to you. But i thik no one here is so competent. That's why replies are nothing just look like lame excuses to hide their ignorance and guilty. Anyway Its OK. icon_down.gif


LOL!!!

I always love it when people take this approach. "No one will do my homework for me because its too hard for them. Woe is me!"

BTW: if anyone did post a program for you, I or another moderator would have deleted the code since the rules of the site do not allow them to give away answers to homework questions to people who have shown no effort.

Your homework assignment is so common that you could easily have got a code base to start from with a simple google search. You are too lazy to even put a little effort into cheating.
User is offlineProfile CardPM

Go to the top of the page

DTR
post 9 Aug, 2008 - 08:59 AM
Post #8


New D.I.C Head

*
Joined: 7 Aug, 2008
Posts: 33


My Contributions


Why are you even bothering with this stuff?

If you are a CS student, you should really just sit down and do some research. There are many ways you can accomplish this assignment. Others are pretty, others are not.

In this case the most important thing for you is to actually try the assignment instead of outsourcing it here.


If you are in High school, I doubt that course you are on is compulsory. In this case, I don't see any reason why you should attend this class, that is no doubt going to get even more advanced?
User is offlineProfile CardPM

Go to the top of the page

NickDMax
post 9 Aug, 2008 - 09:02 AM
Post #9


2B||!2B

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



Thanked 34 times

Dream Kudos: 525
My Contributions


Well said!!! It only gets harder form here, so if you are unwilling to work at it at this level, what are you going to do when the assignments are actually difficult?
User is offlineProfile CardPM

Go to the top of the page

Whizzy
post 9 Aug, 2008 - 09:06 AM
Post #10


D.I.C Lover

*****
Joined: 11 Aug, 2007
Posts: 1,299



Thanked 4 times
My Contributions


QUOTE(Brain @ 9 Aug, 2008 - 06:14 AM) *

[b]That was a challange for me and i throw this to you.


So, apperantly, it was to much of a challenge for you. Because you thre it on these fine gents... Your approach is appauling, however, I'll give you the benefiet of the doubt. How to create a program.

The first thing you need to do, is figure out all the program should look from the users perspective, write it down on Paper if you need too.
create a flow chart that will cover all your needed functions, data you will need to work withand so on...

Go into your editor and set up all your inital values.

· Name of passenger
· Departure City
· Destination City
· Date of travel
· Time of travel
· Number of tickets

Set up these values (even if they are empty)



The Daewoo Reservation System should have the following features:

Consider a feature as a function. For each feature, expect to write one, or more functions designed to accomplish this task.

1. Make Reservation-to reserve ticket/tickets for a passenger and indicate his/her seat number.

Here: You need Name, ticket number, seat number, time, and date.
Input the name, have your system generate a ticket number, and assign a seat. Return those values to the screen

2. Modify reservation-to modify the already made reservation

Write your function to allow a customer to be pulled up by name, and re-assign the seat, time, date, and or ticket number.

3. Cancel reservation-to cancel a particular reservation

Write a function to delete the required information and return those values as "available" so the system can re-use them.

4. Search reservation- to search reservation information of a particular passenger by
a) Passenger name
Date of travel

This function would be a search through your arrays to match and display your information.


5. Exit –to exit from applicationDaewoo Reservation System should also support persistence for passenger ticket reservation recordsSupporting simple persistence by any application requires handling of two scenarios

This function will allow you to write the proper information into your file.

· 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.


Now, Go write your program. Don't worry about the errors. When you get this much written come back and post it, and these guys will help you with your errors. (Even though with your attitude, they shouldn't) They are professionals.
User is offlineProfile CardPM

Go to the top of the page

KYA
post 9 Aug, 2008 - 09:34 AM
Post #11


#include <nerd.h>

Group Icon
Joined: 14 Sep, 2007
Posts: 2,932



Thanked 22 times

Dream Kudos: 1150
My Contributions


\o/ drama!!!
User is offlineProfile CardPM

Go to the top of the page

Reply to this topicStart new topic
Time is now: 9/7/08 10:32PM

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