954,504 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

DevC++ Help

Hello,
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
Renny/sadsack

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

sadsack
Newbie Poster
6 posts since Jan 2006
Reputation Points: 13
Solved Threads: 0
 

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

#include <stdio.h>

int main()
{
   system("pause");
   return 0;
}
Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

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?
renny/sadsack

sadsack
Newbie Poster
6 posts since Jan 2006
Reputation Points: 13
Solved Threads: 0
 

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

>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.

Narue
Bad Cop
Administrator
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
 

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.

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

thanks I will.
renny

sadsack
Newbie Poster
6 posts since Jan 2006
Reputation Points: 13
Solved Threads: 0
 

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!

thomasekugm
Newbie Poster
19 posts since Nov 2009
Reputation Points: 10
Solved Threads: 0
 

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

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You