Best book to learn C+ programming from

I am wishing to learn C+ or C++. Looking to find a great book thats geared towards entry level programmers with very little knowledge of the language. I want it to be geared towards using gcc since im using suse.

I know that everyone always says “learn C first then go to C+” however they are so close i would rather struggle a bit more and learn the more used one then learn something like C then move on to what is commonly used.

Any suggestions?

Herb Schildt’s “C++ From the Ground Up” is a great intro to C++. It’s aimed at a beginner level and does not require any previous programming experience.
ISBN 0072228970
Reviews at Amazon.

Hi,

how about these free books:

Bruce Eckel’s MindView, Inc: Thinking in C++ 2nd Edition by Bruce Eckel

hope this helps

The “Learn C before learning C++.” statement is horribly outdated.

Some of the books on my shelf include:

  • C++ Primer (4th Edition) [Aimed at beginners and useful as a reference guide for the seasoned programmer.]
  • The C++ Programming Language: Special Edition (3th Edition) [The complete reference guide by the creator of C++. This might be a bit advanced for the absolute beginner, but if you have any programming experience at all this is definitely the book to read and an excellent second choice.]
  • Essential C++ [This is a small book, but really in depth. I found it the perfect book to refresh my memory after not programming C++ for over a year.]
  • C++ Templates: The Complete Guide [Explains everything about templates in C++. It’s more of an advanced book, but also something worth reading when getting into serious stuff.]

I first started studying C++ using the C++ Black Book which was recommended by a friend, but in my opinion the C++ Primer is a far better. It’s more in depth and it seems the C++ Black Book has not received an update in quite some time. The benefit of the C++ Black Book is that it’s translated in quite a few languages so if you’re not a native English speaker and you are looking for an introduction in your local language (before moving on to the real good books) this might be worth checking out.

As you can see I listed a few books, because no single book contains all the information and all the tips and tricks. Every programming language is constantly evolving and requires constant studying. I am not saying you should read every book ever written about C++, but the more the better.

The good old “C++ for Dummies” is also a good starting point :)!

follow up question on this, what would be a good IDE to start in (so for windows one would pick visual c++ or c++ builder from borland). Is there anything besides kdevelop3 ?

I suggest KDevelop however if you are learning and need to focus more on getting the code down and testing - experimenting then perhaps try codeblocks, I think it’s more proffessional!

Anyway i suggest at least trying it, its very small in comparison to KDevelop

Installation can be done in yast or perhaps just choose one of the links after searching “codeblocks” using Software.openSUSE.org

Hope this makes things a bit simpler

there does not seem to be a working 1 click install for suse 11, but a hand compile did the trick, thanks, codeblocks seems to be exactly what I was looking for.

A very good IDE is eclipse, although you have to fiddle a bit around to make it ready for C/C++. For surface development you can also use the qtdeveloper (which will, what a surprise, create QT / KDE surfaces)!

If you have the money I use Visual Studio…for the most part if you can navigate from one IDE the others aren’t that hard to follow

Yes but that’s for windows not much use in linux…

Virtual Box it or Net Beans if you can stand the color scheme