Beginning C++26: From Beginner to Pro
Van Weert, Peter
Begin your programming journey with C++, starting from the basics and progressing through clear, step-by-step examples designed to build confidence and skill. This updated edition reflects the latest features of the C++26 standard. All you need are Beginning C++26 and any recent C++ compiler and you'll soon be writing real C++ programs.
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++26, and to all conventions and best practices of modern C++. It now includes a dedicated section on contracts for safer, more expressive code, as well as introductory coverage of reflection with beginner-friendly examples. 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++26 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
- Use contracts to write safer, more predictable code
Who This Book Is For
Programmers new to C++ and those who may be looking for a refresh primer on C++ in general.
Details
Published by: Apress
Publication Date: 2026-12-14
Format: Paperback
ISBN-13: 9798868829949
DOI:
Dimensions: 254cm x178cm
Pages: