Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

Possible Duplicate:
Is there a good book to grok C++?

I'm looking for a book that contains a CDRom with a IDE for readers to install and use as a environment to learn C++ on. Like the "Objects First With Java - A Practical Introduction Using BlueJ" books, where Java is learnt on BlueJ. Is there a book like this teaching C++?

If there isn't any books like this, i'll still appericiate a recommended book for a novice to learn C++ on.

I know nothing about C++ and I want to learn during my private times.

share|improve this question

marked as duplicate by Mark Trapp Dec 11 '11 at 18:13

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

StackOverflow C++ recommended books stackoverflow.com/questions/388242/… –  Mahmoud Hossam Feb 20 '11 at 23:18
@Phobia, thanks Phobia. –  Mr Teeth Feb 20 '11 at 23:32
You're welcome :) –  Mahmoud Hossam Feb 20 '11 at 23:59
please note the local convention of thanking people for good answers/comments by upvoting said answers/comments. –  Péter Török Feb 21 '11 at 0:55
@Péter Török, thanks for the tip. :) –  Mr Teeth Feb 21 '11 at 22:33

5 Answers 5

There are C++ compilers and IDEs to be had for free. If you're on Linux or OS X, you can use the free g++ compiler, and on Windows you can get a free version of Visual C++.

For an IDE, just about any good text editor will do. On OS X, Xcode is freely available and is quite excellent, and for Linux or Windows, there are many choices. I quite like Emacs, and other people quite like Eclipse.

As for a book choice, I highly recommend The C++ Programming Language by Bjarne Stroustrup (the creator of C++). The book does not teach programming, and so may be a bit daunting for the beginner, but is still an excellent resource to work from.

share|improve this answer
Thanks for the info smithco. –  Mr Teeth Feb 20 '11 at 23:33
@Mana Thanks for the correction. I should have proof-read that more carefully. –  smithco Feb 21 '11 at 0:51
I wouldn't recommend the Stroustrup book for a total beginner, there are better books to learn the language basics from. It is however a useful read later. –  Péter Török Feb 21 '11 at 0:58

The two books that I would recommend for C++ are:

  1. Accelerated C++
  2. PPP

They are both commonly regarded as the best beginner books for C++. As regards an IDE, you can get Microsoft Visual Studio 2010 Express.

share|improve this answer
Thanks Darren Young. I'll take a look at those. –  Mr Teeth Feb 20 '11 at 22:38

Thinking in C++ by Bruce Eckel

share|improve this answer
Thanks CrazyEddie. –  Mr Teeth Feb 20 '11 at 23:34
Can you expand your answer to say why you recommend that book, please? Thanks. –  Anna Lear Feb 21 '11 at 3:16
@Anna Lear: Nearly the only reason to recommend it is that it's probably the least bad of those that can legally be downloaded for free. –  Jerry Coffin Feb 21 '11 at 14:31

My advice would depend on whether the person/people using the book have prior experience with programming in some other language. If they have prior experience, I'd recommend Accelerated C++, by Andrew Koenig and Barbara Moo. If they don't, *You Can Do It!: A Beginners Introduction to Computer Programming", by Francis Glassborrow. If memory serves, Francis's book does come with a development system (though I don't recall all the details about what compiler, editor, etc., it includes).

share|improve this answer
Yeah, I'm familar with Java and Pascal. –  Mr Teeth Feb 21 '11 at 22:30

Scott Meyers Effective C++ and More Effective C++

share|improve this answer
I was going to suggest them. Bear in mind however, these are not beginner's books. They assumes familiarity with the language. But these books really taught me the beauty of the C++ language –  Pete Feb 21 '11 at 10:24

Not the answer you're looking for? Browse other questions tagged or ask your own question.