im nto a programmer, and i wanna start im gonna pick the book up tommorow, i need a good book, i mean a good book that wil build the back bone to my future!/ lol. i mean a simple book for non programmers

Dani AI

Generated

Several helpful suggestions are already on this thread. flags the common problem of long books with weak examples, prefers a primer-style, step-by-step approach, and stresses learning good practices. For a complete beginner, the single best decision is choosing a book that combines clear, plain-language explanations with many small, runnable examples and exercises, and that teaches modern C++ idioms rather than only pre-2011 style.

A quick checklist to use while choosing:

  • Clear, short chapters and plenty of small, runnable examples (not just long, dense programs).
  • Exercises with answers or hints so progress can be checked.
  • Explicit coverage of the standard library (containers, algorithms, streams) and resource-management idioms (RAII, smart pointers).
  • A stated language target (C++11/C++14/C++17/C++20); prefer recent standards so learning matches current practice.
  • At least one platform/toolchain explained (how to compile and debug locally or use an online compiler).
  • Avoid books that focus heavily on platform-specific APIs (GUI frameworks or Windows-only guides) as a first step.

A practical study plan: type every example, compile it, step through it with a debugger, then change one thing and observe results. Start with syntax and simple programs, move to functions and classes, then to the standard library and templates. Build small projects (a text parser, a command-line utility, or a simple game) and solve one problem per chapter. When stuck, reduce the code to a minimal reproducible example before hunting answers.

Supplement any book with an up-to-date online reference such as cppreference and community resources like isocpp.org. Use a modern compiler and test examples with a current standard (for example, -std=c++17 or -std=c++20) so examples reflect today’s idioms.

Recommended Answers

All 3 Replies

A good book that I read is "Pratical C++," but it is a bit long and the examples aren't that good. I would suggest getting a book with good examples.

i prefer the "C++ primer plus 4th edition",written by Stephen Prata (usa).it's very nice for Cpp learners.

im nto a programmer, and i wanna start im gonna pick the book up tommorow, i need a good book, i mean a good book that wil build the back bone to my future!/ lol. i mean a simple book for non programmers

I prefer the "Effective C++",It is a good book for improve your C++ programming.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.