i managed to save up enough money and order the book "Accelerated C++" today (paid a good 60$)..now my Q. is would this book help me learn c++ , even if i have no prior knowledge in c++? (i have a basic understanding in C up to arrays and functions, and the book would be at my door steps sometime next week)

Dani AI

Generated

Given ’s basic C background (arrays, functions), Accelerated C++ is a solid choice. The book is example-driven and gets readers writing real programs quickly, so it rewards hands‑on practice. Expect a fairly brisk pace: chapters move from core ideas into higher‑level patterns and library usage, which makes the book efficient for learners who prefer “learn by doing.” This matches ’s observation that it covers both fundamentals and more advanced material.

A useful alternative or complement is Bjarne Stroustrup’s Programming: Principles and Practice Using C++, recommended by . Stroustrup’s book is slower and more pedagogical (good for complete beginners), while Accelerated C++ is compact and practical. A common path is to use Accelerated C++ for focused, project‑oriented practice and consult a fuller text for deeper explanations.

Study workflow that tends to work well with this book: read a short section, type the example, compile and run it, then tweak one thing and observe the result. Use a modern compiler and enable warnings, for example:

g++ -std=c++17 -Wall -Wextra -O0 -g main.cpp -o main
./main

Project ideas and troubleshooting notes: implement a word‑frequency counter that reads a file into containers, build a small gradebook class with file I/O, or write a tiny command‑line parser. Compile often, reduce failing code to the smallest case, read error messages top‑to‑bottom, and use a debugger or simple prints for runtime issues. Finally, note that Accelerated C++ predates C++11 — keep a modern reference handy for newer features (smart pointers, lambdas, move semantics, range‑based for) as progress continues.

Recommended Answers

All 2 Replies

By looking at the topics covered at amazon,

Topics covered:

Introduction to C++
Console I/O with stream classes
Basic string handling
Loop and flow-control statements
Arrays
Using functions and methods
Using Standard Template Library (STL) containers (vectors, linked lists, and maps)
Iterators
Sorting and generic functions
Basic class design
Pointers and arrays
File I/O
Memory-management techniques, including statically and dynamically allocated memory
Adding stream support to custom classes
Conversion operators
Operator overloading
Friend functions
Inheritance
Polymorphism and virtual functions
Handle idioms for classes, including reference counting
Quick reference to the C++ language

Sounds like a book that will teach you from ground up. But looks like it also covers some more advance topics aswell.

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.