DonationCoder.com Forum

Removed Areas => Programming School => C / C++ => Topic started by: mouser on April 19, 2006, 12:28 PM

Title: C++ Programming Resources
Post by: mouser on April 19, 2006, 12:28 PM
Free C++ Compiler/IDE for windows:
If you are using Microsoft Windows, and are new to C++, we recommend Dev-C++. Dev-C++ is a nice and friendly free (donationware!) c++ ide (which also installs a free c++ compiler by default):

If you already have another c++ compiler for windows that you are comfortable with (like Microsoft Visual Studio), or if you are working in *nix with the standard gcc compiler, that's fine, but you must be familiar with how to use it before starting the assignments.



Free E-books and Tutorials:
Title: Re: C++ Programming Resources
Post by: Deozaan on April 19, 2006, 12:34 PM
I don't know C++ but I've heard that this is also a good resource:

http://www.cplusplus.com/ (http://www.cplusplus.com/)
Title: Re: C++ Programming Resources
Post by: f0dder on April 19, 2006, 01:04 PM
A bit on the techier site, but really good: http://www.parashift.com/c++-faq-lite/

Also, I would recommend Microsoft Visual C++ 2003 toolkit over the GNU compiler - it produces better code and has better C++ compliance. http://msdn.microsoft.com/visualc/vctoolkit2003/ . Requires more setting up than dev-c++ though.

If you want something lighter than a full-blood IDE, I can recommend http://notepad-plus.sourceforge.net - it has C/C++/... syntax highlighting.

There's also http://www.codeblocks.org/ instead of dev-C++, worth checking out.
Title: Re: C++ Programming Resources
Post by: app103 on April 19, 2006, 01:22 PM
These are titles from my programming ebooks (http://www.programmingebooks.tk) page that aren't covered in the above post's list...and not on OOP Web either.


C++: A Dialog - http://www.steveheller.com/cppad/cppad.htm

Optimizing C++ - http://www.steveheller.com/opt/

An Introduction to C++ Programming - http://www.computer-books.us/cpp_1.php

Programming in C++ - Rules and Recommendations - http://www.computer-books.us/cpp_6.php

A Beginners C++ Book - http://www.uow.edu.au/~nabg/ABC/ABC.html

C++ GUI Programming with Qt 3 - http://www.phptr.com/promotion/1484?redir=1
Title: Re: C++ Programming Resources
Post by: Eóin on April 19, 2006, 05:14 PM
Once you get going with C++ you'll want to check out the Boost (http://www.boost.org) libraries.

Also to confuse people with yet more options you can setup a nice console build environment with Boost Build System V2 (http://boost.sourceforge.net/boost-build2/) (bjam). For my setup I use Programmers Notepad (http://www.pnotepad.org/) which has nice, if simple, project management, captures output from console programs like bjam and is able to nicely parse any errors and trace them back to the offending file, and has a couple of other nice touches.
Title: Re: C++ Programming Resources
Post by: mouser on August 08, 2006, 04:03 AM
Nice tutorial:
http://www.cplusplus.com/doc/language/tutorial/
Title: Re: C++ Programming Resources
Post by: vivy on April 16, 2007, 11:14 AM
Openwatcom - for C,C++ and Fortran cross compilers and tools (http://www.openwatcom.org/index.php/Main_Page)
Title: Re: C++ Programming Resources
Post by: icekin on May 30, 2008, 04:32 AM
Its worth noting that after a lot of development, Code::Blocks has finally hit a stable release (v8.02)and I've been using it for my programming courses this semester. Its quite decent. Download here : http://www.codeblocks.org
Title: Re: C++ Programming Resources
Post by: mouser on May 30, 2008, 05:07 AM
Oh that is very cool news.. It seemed to stall for a while there (at least the stable releases did).  Very good news indeed.
Title: Re: C++ Programming Resources
Post by: bgd77 on October 08, 2008, 07:53 AM
I am reopening this discussion to put a question that may had been responded in other parts of this forum (but I was unable to find those responses  :)). I hope you won't be tough on me. So, here it goes:

What books do you recommend to learn the syntax of C++?

I want to know, from your experience, what is the best book to learn C++.

Thanks!
Title: Re: C++ Programming Resources
Post by: fenixproductions on October 08, 2008, 10:49 AM
2bgd77
"Thinking in ..." books by Bruce Eckel are good choice IMHO.

Here's the download sites list:
http://www.mindview.net/Books/DownloadSites
Title: Re: C++ Programming Resources
Post by: bgd77 on October 13, 2008, 01:34 AM
Ok, thanks! It sounds good, I'll give it a try.
Title: Re: C++ Programming Resources
Post by: kartal on May 03, 2009, 02:10 AM
There is Codeblocks, it was easy to install and run without hassle

http://www.codeblocks.org/
Title: Re: C++ Programming Resources
Post by: SingingBoyo on January 01, 2010, 11:23 AM
Eclipse CDT isn't bad, though I've never been able to set it up for OpenGL.  Its great for me because I use so many different languages that having a single IDE for all of them is a great thing.  I also use Code::Blocks for anything that needs OpenGL and for C++ graphics in general, but I find it is lacking the kind of code completion I get with most languages in Eclipse.  The method completion really bugs me in Code::Blocks, because when you type in something it recognizes as a keyword, the method signature disappears and doesn't come back.  (Makes constructing objects that have 5 or more parameters difficult.)

So, Eclipse CDT for non-graphic projects, Code::Blocks for others.  Never liked Visual Studio, maybe because its a Microsoftism and those have always been too complex and involved for me.
Title: Re: C++ Programming Resources
Post by: Deozaan on March 25, 2010, 07:02 PM
Maybe this isn't the right place to ask, but does anyone have a a more recent opinion on a good C++ IDE/Compiler?

Bloodshed's Dev-C++ hasn't been updated in over 5 years (Feb 2005) (http://www.bloodshed.net/) and that was just a beta release.
Code::Blocks was last updated in Feb 2008 (http://www.codeblocks.org/downloads/5).

I suppose if they were good and stable when they were released, and if C++ hasn't changed at all in that time then they could still be good IDEs, but I think they may have troubles with some aspect of Windows 7 64bit. Especially Dev-C++ which was released before Vista!

Oh, and I guess Code::Blocks most recent update was the Feb 27 2010 Nightly Build (http://forums.codeblocks.org/index.php/board,20.0.html).
Title: Re: C++ Programming Resources
Post by: mwb1100 on March 25, 2010, 10:29 PM
Maybe this isn't the right place to ask, but does anyone have a a more recent opinion on a good C++ IDE/Compiler?

I'm surprised it hasn't been mentioned yet, but if you're looking for something on Windows MS has the free Express versions of Visual Studio, including one for C++:

  - http://www.microsoft.com/express/Downloads/#2008-Visual-CPP

Right now it's VS2008-based, but in a month or so it should be switched over to the VS 2010 version. There are some limitations:

  - http://stackoverflow.com/questions/86562/what-is-missing-in-the-visual-studio-express-editions/86614#86614

but if you're just starting out or aren't impacted by the limitations, it's a very nice IDE. For C++ the big limitation is lack of support for MFC/ATL. There are some hacks for getting those libraries working (by downloading the driver kit, which has some support for them), but I'd say you might want to consider something like Qt instead and skip MFC altogether.

Speaking of Qt - I've never used their IDE, but I've heard good things about it:

  - http://qt.nokia.com/products/developer-tools?currentflipperobject=821c7594d32e33932297b1e065a976b8

Title: Re: C++ Programming Resources
Post by: Lashiec on March 26, 2010, 09:38 PM
Code::Blocks is currently undergoing a testing and bugfixing phase in preparation for a new stable release, and I expect that at least it will support Windows 7 properly. 64-bit compatibility is another thing, the program should run fine, but generating 64-bit executables is a different thing, and I ignore if they will provide a 64-bit version of MinGW or not. Not that it's difficult to get such version by yourself, but it's always nicer to have everything configured in one step.

And, of course, if everything fails, you always have Linux as well.
Title: Re: C++ Programming Resources
Post by: ewemoa on March 26, 2010, 10:46 PM
Code::Blocks is currently undergoing a testing and bugfixing phase in preparation for a new stable release
I've been using the nightly build that Deozaan referred to for some weeks now and it hasn't given me any trouble (though I'm just trying to see what it's like to create FARR plugins with it).

it's always nicer to have everything configured in one step.
Indeed!  In retrospect, I don't think the steps involved in getting things working are hard -- what I found difficult was trying to find the appropriate instructions (note: here I'm referring to also installing MinGW and MSYS first) -- I misled myself via multiple sets of old instructions :)
Title: Re: C++ Programming Resources
Post by: daddydave on July 01, 2010, 03:42 PM
Some of the C++ links here have been mentioned before, some haven't. Just cleaned up the dead links.
delicious.com/daddydave/c++ (http://delicious.com/daddydave/c%2B%2B)

EDIT: Later realized I had some more links tagged stl but not c++, cleaned those up and tagged with c++ so they show up in the list too.
Title: Re: C++ Programming Resources
Post by: ewemoa on July 01, 2010, 04:42 PM
Thanks for sharing!

I particularly found:

  http://gigamonkeys.com/blog/2009/10/16/coders-c++.html

to be interesting.

I've started to read Bruce Eckel's Thinking in C++ (http://www.mindview.net/Books/TICPP/ThinkingInCPP2e.html) which has been mentioned (or hinted at) on DC before.  So far it has been helpful in sorting out various points I've been confused about and it's nice that it seems fairly readable on certain small-screen devices (being in HTML).

(Thanks to fenixproductions and jgpaiva for their recommendations of Eckel's works -- perhaps if I become interested in Java at some point, I'll take a look at Thinking in Java.)
Title: Re: C++ Programming Resources
Post by: ewemoa on July 09, 2010, 12:46 AM
Started reading An Introduction to GCC (http://www.network-theory.co.uk/docs/gccintro/) -- seems fairly clear so far.

(Although I'm mostly using Code::Blocks, since I'm using it with GCC, I figure it's worth understanding GCC somewhat especially for when things don't get so smoothly (e.g. understanding the output in Code::Blocks' "Build log" and "Build messages" windows -- I have the "Compiler logging" setting set to "Full command line" (via Settings -> Compiler and debugger... -> Global compiler settings -> Other settings -> Compiler logging)))

[ You are not allowed to view attachments ]