
C++26 for Lazy Programmers
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
Ready to learn programming with less effort and more fun? Then do it the lazy way! C++26 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 introduces features from the new C++26 standard including increased support for compile-time computation with constexpr and static_assert, as well as contracts, and covers ranges, views, move semantics, format strings, smart pointers, lambda functions and concepts (template parameter requirements), and provides brief introductions to coroutines and lazy evaluation.
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.
What You Will Learn:
- Explore the brand-new C++26 standard
- Program graphics and games with the SDL library, using SSDL, the "Simple SDL" wrapper library
- Use the most common C++ compilers - Visual Studio in Windows; g++ with Ubuntu, Fedora, Manjaro or Debian Unix, or MSys2 - and their associated debuggers
- Apply "anti-bugging" techniques for easy fixes to common problems
- Incorporate best practices for becoming a productive programmer
- Create your own big projects, including a C++-based arcade game
- Leverage STL functions and classes for easy and efficient programming
- Handle the Unicode (UTF-8) output
- Understand the uses and limits of views for efficiently pipelining data
- Learn core data types (strings, queues, vectors, linked lists) not by reading about them but by building them from scratch
- Navigate the basics of C, the still powerful and popular ancestor of C++
Who This Book Is For
All who are new to C++, either self-learners or students in college-level courses.
More details
Other editions
Additional editions

Person
Will Briggs , PhD is a professor of computer science at the University of Lynchburg in Virginia. He has 30 years experience teaching C++, 18 of them using earlier drafts of this book, and about as many years teaching other languages including C, Javascript, LISP, Pascal, PHP, PROLOG, and Python. His primary focus is teaching of late while also active in research in artificial intelligence.
Content
Chapter 1: Getting started.- Chapter 2: Images and sound.- Chapter 3: Numbers.- Chapter 4: Mouse, and if.- Chapter 5: Loops and text input.- Chapter 6: Algorithms and the development process.- Chapter 7: Functions.- Chapter 8: Functions, continued.- Chapter 9: Using the debugger.- Chapter 10: Arrays, spans and enum.- Chapter 11: Animation with structs and sprites.- Chapter 12: Building your own arcade game: input, collisions, and putting it all together.- Chapter 13: Standard I/O and file operations.- Chapter 14: Character arrays and dynamic memory.- Chapter 15: Classes.- Chapter 16: Classes, continued.- Chapter 17: Strings, and operators.- Chapter 18: String views, exceptions, move semantics, and O notation.- Chapter 19: Templates, including vector).- Chapter 20: Inheritance.- Chapter 21: Virtual functions and multiple inheritance.- Chapter 22: Linked lists.- Chapter 23: The Standard Template Library (STL) and functional-style programming.- Chapter 24: Functional-Style Programming, continued.- Chapter 25: Esoterica (recommended).- Chapter 26: Esoterica (recommended), continued.- Chapter 27: Esoterica (not so recommended).- Chapter 28: Building bigger projects.- Chapter 29: C.- Chapter 30: Moving on with SDL. Appendices A-G.
System requirements
File format: PDF
Copy protection: Watermark-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Use the free software Adobe Reader, Adobe Digital Editions, or any other PDF viewer of your choice (see eBook Help).
- Tablet/Smartphone (Android; iOS): Install the free app Adobe Digital Editions or another reading app for eBooks, e.g., PocketBook (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Watermark-DRM, a „soft” copy protection. This means that there are no technical restrictions to prevent illegal distribution. However, there is a personalised watermark embedded in the eBook that can be used to identify the purchaser of the eBook in the event of misuse and to provide evidence for legal purposes.
For more information, see our eBook Help page.