View Single Post
Old 10-08-2007, 08:11 PM   #19 (permalink)
Garbage
God of Mistakes...
 
Garbage's Avatar
 
Join Date: Dec 2005
Location: Pune, Maharashtra
Posts: 1,923
Smile Re: C++:Adding two numbers

@Ron ,

From HERE u can download Dev C++

Quote:
Originally Posted by Yamaraj
Sorry, but this one statement makes your program a nonstandard one.
Read more about it - http://www.gidnetwork.com/b-61.html
Let me answer some of the things...

Quote:
I've never understood why system("PAUSE") is so popular.
Bcoz it is handy !!!

Quote:
This pause is very useful when your IDE won't wait as you test a program and as soon as the program finished the window closes taking all your data with it.
Thats why I used it !!!

Quote:
t's not portable. This works only on systems that have the PAUSE command at the system level, like DOS or Windows. But not Linux and most others..
Let me tell you, C/C++ programs are NEVER portable. So why to bother for a single statement ???

Quote:
You must include a header you probably don't need: stdlib.h or cstdlib
I think, he must be talking for C, NOT for C++. Bcoz I haven't included those headers.

Hope this is clear now !!!
__________________
Registered Linux User #468778
----------------------------------
http://twitter.com/_Garbage_

Last edited by Garbage; 10-08-2007 at 08:11 PM. Reason: Automerged Doublepost
Garbage is offline