C++ by Example includes 'UnderC,' an open-source language interpreter developed by the author, which shows the result of each new programming technique instantly, allowing novices to experiment in a more dynamic learning environment. The book starts with the fundamentals of the language, including expressions, variables, functions, and definitions and then covers the most common C++ features including
Organizing data with Arrays
Standard Algorithms and Containers
Using Libraries within C++ programs
Going beyond Arrays with Structures
Manipulating data using Operators
The second half of the book covers OOP, including Classes, Inheritance, Encapsulation, and more. The final chapters include useful command and library references and appendices covering the preprocessor and freeware C++ compilers.