Modern C++ is easier to understand when its features are doing something tangible. In Learn C++ by Example, Frances Buontempo takes readers from C++11 through C++23 using hands-on projects that connect new language ideas to familiar programming problems.
The examples range from Pascal’s triangle and number-guessing games to a countdown timer and a deck of playing cards. Each gives readers a practical setting for exploring the code—not just a list of features to memorize.
Modern C++, explored through projects
Across nine chapters, the book builds from a C++ refresher into topics including containers, iterators and ranges; string and numeric input; time points and durations; objects and arrays; smart pointers and polymorphism; associative containers and files; unordered maps and coroutines; and parameter packs and std::visit.
That progression gives readers a chance to see how modern language features fit into working examples. Alongside the projects, the book considers testing, algorithms, data structures and what happens under the hood.
Examples that make abstract ideas concrete
- Pascal’s triangle provides a setting for vectors, ranges, move semantics and checking the properties of generated data.
- Number-guessing programs bring user input, random numbers, validation, lambdas and callable functions into view.
- A countdown timer helps illustrate time points, durations, literals and time-related operations.
- A deck of cards offers a practical context for scoped enumerations, strong types, constructors, arrays and comparison operators.
For readers building on C++ basics
The publisher describes the intended readership as beginner to intermediate C++ programmers. It can suit someone returning to C++ as well as a learner who knows the fundamentals and wants to see how newer standards shape everyday programming choices.
With a project-led approach and coverage spanning C++11 to C++23, this book offers a grounded way to explore the language’s evolving toolkit—one example at a time.
User Reviews
Be the first to review “Learn C++ by Example: Covers Versions 11 to 23”
You must be logged in to post a review.
Introducing C++: The Easy Way to Start Learning Modern C++
Sold by Frances Buontempo
Original price was: $27.49.$13.74Current price is: $13.74.

There are no reviews yet.