There is no assumption of prior programming knowledge. All language concepts that are explained in the book are illustrated with working program examples, and all chapters include exercises for you to test and practice your knowledge. Free source code downloads are provided for all examples from the text and solutions to the exercises.
This latest edition has been fully updated to the latest version of the language, C++23, and to all conventions and best practices of modern C++. This book also introduces elements of the C++ Standard Library that provide essential support for C++23. After completing this book, you will have the knowledge and skills needed to build your first C++ applications.
What You Will Learn
- Begin programming with the C++23 standard
- Carry out modular programming in C++
- Work with arrays and loops, pointers and references, strings, and more
- Write your own functions, types, and operators
- Discover the essentials of object-oriented programming
- Use overloading, inheritance, virtual functions, and polymorphism
- Write generic function and class templates, and make them safer using concepts
- Learn the ins and outs of containers, algorithms, and ranges
- Use auto type declarations, exceptions, move semantics, lambda expressions, and much more
Programmers new to C++ and those who may be looking for a refresh primer on C++ in general.