devc++ problem

i am new to c++ programming so i just installed devc++ and i just tried to compile a simple hello world program. but when i try to compile this program it just shows done but doesn't show output of the program i mean MSDOS DOES NOT APPEAR i don't know why so please help me
Reboot you computer 3 times and you should be good.
Don't use Dev-C++, it's too old. see http://www.cplusplus.com/forum/articles/7263/
No, for learning purposes it's one of the best c++ IDE(and free) , not too old. The problem isn't exactly int devc++, but in Windows, because it is only in Windows OS DOS PROMPT is closing after the program starts. The easiest choice for this is to write 2 times before return 0 this line "getchar();"
Last edited on
for learning purposes it's one of the best c++ IDE(and free)
for learning purposes is the worst IDE, it comes with an old and buggy compiler
not too old.
It's unmaintained since 2005
The problem isn't exactly int devc++, but in Windows, because it is only in Windows OS DOS PROMPT is closing after the program starts
First, it's a terminal emulator and not a DOS prompt. Second, other IDEs for Windows prevent it from closing down after the execution
The easiest choice for this is to write 2 times before return 0 this line "getchar();"
http://www.cplusplus.com/forum/articles/7312/

http://www.jasonbadams.net/20081218/why-you-shouldnt-use-dev-c/
Last edited on
thanks for the answers but what compiler i should use then?
Like Bazzy said;
http://www.cplusplus.com/forum/articles/7263/

Code::Blocks (Windows/Linux) - http://www.codeblocks.org/
MS Visual C++ Express (Windows) - http://www.microsoft.com/express/vc/
NetBeans (All) - http://www.netbeans.org/
KDevelop (Linux) - http://www.kdevelop.org/
Borland C++ (Windows) - http://www.borland.com


I used dev c++ for a while, using Code::Blocks now
Last edited on
On the other hand c++ hasn't been modified either since i think 2003... So on the language part it's not a problem..

and you could use cin.get(); instead of getchar();

Just dont use "System(whatever)" because they're badasses :)
Last edited on
thanks everybody
Topic archived. No new replies allowed.