welcome
Thank you for purchasing Learn C++ by Example. You will get most benefit from this book if you try out the projects in each chapter. Writing code is the best way to learn, but this book will guide you through important aspects of C++ to experiment with.
C++ is a compiled language used for a huge variety of applications, from embedded code, to building web browsers, creating mathematics libraries for use in finance or research, including recently having been used for Covid-19 simulations. C++ often powers video games too.
If you used to use C++, you may be overwhelmed by the number of changes introduced by recent new standards. By reading this book, you will learn how to use a selection of important, recent features, ranging from C++11 (the standard of C++ ratified in 2011) through to C++20 (introduced in 2020) and beyond.
This book helps you create some small games and projects in order to practice using different parts of standard C++. You will be able to code along if you have a compiler, no matter which operating system you are using. You’ll practice using vectors and arrays, learn how to use lambdas and functions with standard algorithms, and learn much more besides.