Ready to learn programming with less effort and more fun? Then do it the lazy way! C++20 for Lazy Programmers uses humor and fun to make you actually willing to read and eager to do the projects as you master the popular and powerful C++ language. Along the way it includes many features from the new C++20 standard, such as ranges, spans, format strings, the “spaceship” operator, and concepts (template parameter requirements), and provides brief introductions to modules and coroutines.
With this unique method, you’ll stretch your abilities with a variety of projects, including your own C++ arcade game. You’ll construct your own classes, templates, and abstract data types. After reading and using this book you’ll be ready to build real-world C++ applications and game projects on your own.
You will:
Be one of the first to program in the brand-new C++20 standard
Discover the SDL graphics and gaming library, and SSDL, the “Simple SDL” wrapper library
Get detailed help using the most common C++ compilers — Visual Studio for Windows, and g++ (with Unix or MinGW) — and their associated debuggers
Practice “anti-bugging” for easy fixes to common problems
Learn new concepts and skills from a variety of examples
Develop sound practices for becoming a productive programmer
Build a C++-based arcade game
Apply built-in Standard Template Library (STL) functions and classes for easy and efficient programming
Learn powerful data types including strings, stacks, vectors, and linked lists — not by reading about them but by building them — preparing you further for a career in programming