Total Noob

Hey, I am brand new here. I'm ashame to say that I'm having trouble at the first tutorial. Actually, I use Dev-C++ and I wrote the program just like in tutorial. I used Console App project. But when I run, it opens and close in the less of a sec. Am I total idiot???
Thanks!
No you are not.This link will help.


Also I suggest to switch to Code::Blocks,you dont need to add getche(),system("PAUSE") or something to see the results of console applications.
Last edited on
code blocks is much better but if you are a student microsoft has a program they call dreamspark where they give developer software to students for free. So you could get visual studio 2010 for free. check it out here: https://www.dreamspark.com/default.aspx
code blocks is for advanced. you shall try wxDev C++ i used it with my 1st HELLO WORLD ((:
code blocks is for advanced. you shall try wxDev


Hell no. Code::Blocks isn't any more complicated to use than DevC++ is, with the difference that it works better and has more optional features.
Last edited on
Dev-C++ was notoriously easy to use (for everything except debugging), and I wouldn't be surprised if wxDev-C++ tried to keep that easiness of use.

I would recommend Code::Blocks over wxDev-C++, though, simply because of the better support, more optional features, and pretty nice code-completion features.

-Albatross
closed account (S6k9GNh0)
You know, after a bit of experience, I can't find a damn difference in any of the IDE's I use whether it's Net Beans, Eclipse, or Code::Blocks. They generally do the same thing, give the same features in different ways, etc.
I still don't understand what everything's on about "easy use" of Dev-C++.

In Dev-C++: Make a new file. Write some hello-world stuff. Save. Hit compile and run.

In Code::Blocks: Make a new file. Write some hello-world stuff. Save. Hit build and run.

Differences marked with bold text. Hey sure, the menus may have some options a beginner won't be able to use because he doesn't have any idea what they are supposed to do, but you can just ignore them. The basics are the same thing in both, just that in Code::Blocks you have some additional features you can use without jumping to a different IDE. Visual C++ is IMO less intuitive, but also not hard to deal with with a bit of additional time.
Well... the last time I used Dev-C++ I think it was still being updated, so I don't remember it too well. Sorry if my memory is a little bit foggy in terms of which is easier to use. ^_^

-Albatross
I'm using Dev to write something relatively small

Code::Blocks is better of course.

And really when you're just starting out you probably wont need any extra options, so using Dev for tutorials is not a bad thing
Dev-C++ is always a bad thing.
The compiler coming with it is very old and buggy.
A beginner should work with proper tools or it will get used to bad habits.
Topic archived. No new replies allowed.