books and compilers

hi guys,

trying to learn c++ but finding it very difficult to match a book with a compiler.
i tried using for dummies on dev+ kit but had a lot of errors...people told me it was because of the book being older than the compiler.

can anybody please reccomend a good book with a compiler i can buy that
things will work and i can learn...

or am i approaching this wrong...

please help
The compiler shouldn't matter. The comment about the book being older than the compiler is an issue because the C++ standard was updated after the book was written. You should be able to grab any book since 2003 and be fine. I always recommend downloading Visual C++ Express to start with. As far as books on C++, the How To Program C++ dietel books are quite nice... but very expensive.
If you mean Dev C++, it's an old IDE, don't use it.

You can download MS Visual C++ Express, which comes with its own compiler, or Code::Blocks, which comes with MinGW. Others can recommend you other IDEs, but either of those is a nice choice.

As for a good book: I haven't read C++ for Dummies, but I hear it's not so good. A good book would be Programming: Practices and Principles using C++, by Bjarne Stroustrup. It's pretty solid.
Topic archived. No new replies allowed.