PDA

View Full Version : Best C++ compiler for beginners



jeyaganesh
August 28th, 2007, 07:54 PM
Hi, Anyone, please, suggest me which is the best C++ compiler for windows to start learning the programming language?
:popcorn:
-Jay

igknighted
August 28th, 2007, 07:55 PM
g++ in cygwin

happysmileman
August 28th, 2007, 08:10 PM
I'd say get Dev-C++, it's an IDE and comes with mingw compiler... All open source of course

LaRoza
August 28th, 2007, 08:28 PM
I'd say get Dev-C++, it's an IDE and comes with mingw compiler... All open source of course

+1 Dev-C++, you can also use it through the command line, just like you would in Linux.

cstudent
August 28th, 2007, 08:33 PM
I'm partial to Code::Blocks myself. http://www.codeblocks.org/

Check out the forum at http://forums.codeblocks.org/ and get the latest nightly build.

LaRoza
August 28th, 2007, 08:43 PM
Hi, Anyone, please, suggest me which is the best C++ compiler for windows to start learning the programming language?
-Jay

If you are just starting, you might want to check my wiki for useful information. Feedback is appreciated!

(links in my sig)

Sp4cedOut
August 28th, 2007, 08:55 PM
Code::Blocks or Dev-C++ comes with the GNU C/C++ compiler, which works exactly like the Linux version.

You can also get Microsoft Visual C++ Express Edition for free, which definitely has more features than any other Windows C++ IDE.

LaRoza
August 28th, 2007, 08:57 PM
You can also get Microsoft Visual C++ Express Edition for free, which definitely has more features than any other Windows C++ IDE.

It is not good to get tied down to an IDE.

Many beginners confuse IDE's with compilers.

Fonon
August 28th, 2007, 09:08 PM
Since your running Linux, I advise you to install Geany. Look for it under Add/Remove Programs.

ddrichardson
August 28th, 2007, 09:29 PM
Learning C++ in Windows can be a little challenging - my advice is to stick with a simple IDE such as Geany for the meantime (a version is available for Windows) and a compiler, see here (http://www.thefreecountry.com/compilers/cpp.shtml).

If its just for personal interest there are some great books to start out with - an oldie but goodie is Nuts and Bolts (http://www.amazon.co.uk/C-Nuts-Bolts-Experienced-Programmers/dp/0078821401/ref=sr_1_1/026-8092732-1783631?ie=UTF8&s=books&qid=1188332791&sr=8-1) by Schildt or anything by Bjarne Stroustrup. These tend to work from the basics avoiding GUI programming - which really needs a good grasp of classes.

If it's for a course then use whatever compiler they recommend - otherwise you run into unforseen problems, I used gpp throughtout Uni and everyone else use Borland's Turbo C++ (yes I know I'm showing my age) - and was forever running into problems with implementation and libraries.

Oh yeah and +1 Dev-C++

bmh2005
September 18th, 2007, 05:41 AM
What simple free to use compiler would everyone recommend for C?

nonewmsgs
September 18th, 2007, 05:43 AM
What simple free to use compiler would everyone recommend for C?
GCC

the world famous

bmh2005
September 18th, 2007, 06:00 AM
how do i get it? can i just do the apt-get install GCC or something like that?

hellmet
September 18th, 2007, 04:56 PM
I just downloaded DEV C++, and I've got to say, its a nice program. Thanks for the suggestion guys!

LaRoza
September 18th, 2007, 04:57 PM
how do i get it? can i just do the apt-get install GCC or something like that?



sudo aptitude install build-essential


Actually, you already have GCC, but you do not have the headers, so install build-essential.

mikeypizano
September 18th, 2007, 05:46 PM
Where does one get the Linux Dev C++?

LaRoza
September 18th, 2007, 05:49 PM
Where does one get the Linux Dev C++?

Quick google search: http://freshmeat.net/projects/dev-cpp/

gnusci
September 18th, 2007, 05:53 PM
You can find a load of answers about programing in:

Programming Talk (http://ubuntuforums.org/forumdisplay.php?f=39)