I am new to this forum and would like to say hi to every one.
My name is renny.
Now I hope someone can tell me what I am doing wrong. I dave devC++ and when i compile my code then run it, a window comes up and goes away very fast. How do I stop the program after it run so the window stay there so I can see it.

Thank You

Iwas going over some posted and found out how to do it.
Thank You

11 Years
Discussion Span
Last Post by Ancient Dragon

you have to make the program pause before it exits back to the operating system.

#include <stdio.h>

int main()
   return 0;

Thank you I am going to need a lot of help with c++. Do you think that DevC++ is a good compiler to use? Is there a free one that is better?


>Do you think that DevC++ is a good compiler to use?

>Is there a free one that is better?
At your level, you wouldn't notice the differences that I would say make one compiler "better" than another. So Dev-C++ is fine unless you absolutely hate it for some reason.


Yes there are better compilers (some free but most cost lots of $$$), but Dev-C++ is probably best for beginners. Most of the other compilers have complicated IDEs (programmers GUI editors and tools) that take some time even for experienced programmers to learn. Stick with someting pretty simple for now.


I have recently started a c programing class and this is the recomended compiler. However the website bloodshed.net is gone and i cant find a help file to look up simple operators. a link would be nice thanks!


First time I've heard that www.bloodshed.net no longer exists. Makes sense since that has been a dead IDE for several years now. Forget Dev-C++ and get Code::Blocks with MinGW compiler.

>>and i cant find a help file to look up simple operators.
Dev-C++ isn't needed for that. Just learn to use google

Edited by Ancient Dragon: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.