My Account Log in

1 option

C++26 for Lazy Programmers : Quick, Easy, and Fun C++ for Beginners / by Will Briggs.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Briggs, Will.
Series:
Professional and Applied Computing Series
Language:
English
Subjects (All):
C++ (Computer program language).
Physical Description:
1 online resource (497 pages)
Edition:
3rd ed. 2025.
Place of Publication:
Berkeley, CA : Apress : Imprint: Apress, 2025.
Summary:
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: 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++.
Contents:
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.
Notes:
Description based on publisher supplied metadata and other sources.
ISBN:
979-88-6881-859-2
OCLC:
1568116869

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Library Catalog Using Articles+ Library Account