RSS Forums RSS

Airline Reservation Portal

Please support our C++ advertiser: Programming Forums
Reply
Posts: 3
Reputation: sundar.mn is an unknown quantity at this point 
Solved Threads: 0
sundar.mn sundar.mn is offline Offline
Newbie Poster

Airline Reservation Portal

  #1  
Oct 18th, 2008
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, 7 views)
AddThis Social Bookmark Button
Reply With Quote  
Posts: 13,867
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: 1231
Moderator
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is online now Online
Most Valuable Poster

Re: Airline Reservation Portal

  #2  
Oct 18th, 2008
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 9:21 am.
Reply With Quote  
Posts: 3
Reputation: sundar.mn is an unknown quantity at this point 
Solved Threads: 0
sundar.mn sundar.mn is offline Offline
Newbie Poster

Re: Airline Reservation Portal

  #3  
Oct 18th, 2008
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
Reply With Quote  
Posts: 13,867
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: 1231
Moderator
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is online now Online
Most Valuable Poster

Re: Airline Reservation Portal

  #4  
Oct 18th, 2008
Originally Posted by sundar.mn View Post
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
Reply With Quote  
Reply

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



Other Threads in the C++ Forum
Views: 376 | Replies: 3 | Currently Viewing: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 10:51 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC