943,879 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 664
  • C++ RSS
Oct 18th, 2008
0

Airline Reservation Portal

Expand Post »
HI and hello,
This is sundar...i'm posting a project that i've done 'Airline Reservation System'...
Pls go thru it and let me faults if any...and also how to enhance this code....
(pls find attachment)
Attached Files
File Type: cpp SUN.CPP (6.8 KB, 19 views)
Reputation Points: 10
Solved Threads: 0
Newbie Poster
sundar.mn is offline Offline
3 posts
since Oct 2008
Oct 18th, 2008
0

Re: Airline Reservation Portal

1) gets() -- never use it. Read this for explaination of why.

lines 26-27: There is no need for variable x. Just use the parameter variable n.

line 41: >>void putdata(int n); Delete that line because its not necessary to prototype a function before actually writing the code for it. Most programmers will have all function progotypes at the very beginnning of the program, after the #include <blabla> statements.

line 44: same as previous comment about 26-27.

No comments about the rest of your program because I don't use ancient Turbo C++.
Last edited by Ancient Dragon; Oct 18th, 2008 at 10:21 am.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,952 posts
since Aug 2005
Oct 18th, 2008
0

Re: Airline Reservation Portal

thank u...i'll surely make these changes...
if u dont mind i've few problems that i am unable to solve....if u dont mind i'll post them,so that u can help me sort them out
Reputation Points: 10
Solved Threads: 0
Newbie Poster
sundar.mn is offline Offline
3 posts
since Oct 2008
Oct 18th, 2008
0

Re: Airline Reservation Portal

Click to Expand / Collapse  Quote originally posted by sundar.mn ...
thank u...i'll surely make these changes...
if u dont mind i've few problems that i am unable to solve....if u dont mind i'll post them,so that u can help me sort them out
Just don't expect us to write the code for you -- we will gladly help YOU do that though
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,952 posts
since Aug 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: files..and stuff..and comparing...and compiling..ohh
Next Thread in C++ Forum Timeline: getting command into Unix Shell





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC