DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C++ (http://www.daniweb.com/forums/forum8.html)
-   -   Airline Reservation Portal (http://www.daniweb.com/forums/thread151946.html)

sundar.mn Oct 18th, 2008 9:58 am
Airline Reservation Portal
 
1 Attachment(s)
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)

Ancient Dragon Oct 18th, 2008 10:20 am
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++.

sundar.mn Oct 18th, 2008 11:14 am
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

Ancient Dragon Oct 18th, 2008 11:16 am
Re: Airline Reservation Portal
 
Quote:

Originally Posted by sundar.mn (Post 715516)
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 :)


All times are GMT -4. The time now is 1:52 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC