
C++20 for Lazy Programmers
Quick, Easy, and Fun C++ for Beginners
Will Briggs(Author)
APress
2nd Edition
Published on 12. December 2020
Book
Paperback/Softback
XXVII, 677 pages
978-1-4842-6305-1 (ISBN)
Shipment within 15-20 days
Description
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.What You Will Learn:
- The brand-new C++20 standard
- Programming graphics and games with the SDL library, using SSDL, the "Simple SDL" wrapper library
- How to use the most common C++ compilers -- Visual Studio for Windows, and g++ (with Unix or MinGW) -- and their associated debuggers
- "Anti-bugging" for easy fixes to common problems
- Sound practices for becoming a productive programmer
- How to make your own big projects, including a C++-based arcade game
- The built-in Standard Template Library (STL) functions and classes for easy and efficient programming
- 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
All who are new to C++, either self-learners or students in college-level courses.
More details
Edition
Second Edition
Language
English
Place of publication
Berkeley
United States
Target group
Adult education
Professional and scholarly
Illustrations
198 s/w Abbildungen
XXVII, 677 p. 198 illus.
Dimensions
Height: 25.4 cm
Width: 17.8 cm
Weight
1326 gr
ISBN-13
978-1-4842-6305-1 (9781484263051)
DOI
10.1007/978-1-4842-6306-8
Schweitzer Classification
Other editions
New editions

Book
12/2025
3rd Edition
APress
€74.89
Available immediately
Additional editions

E-Book
12/2020
2nd Edition
APress
€49.99
Available for download
Previous edition

Book
10/2019
APress
€35.30
Article exhausted; check for reprint
Person
Will Briggs
, PhD is a professor of computer science at the University of Lynchburg in Virginia. He has 20+ years of experience teaching C++, 12 of them using earlier drafts of this book, and about as many years teaching other languages including C, LISP, Pascal, PHP, PROLOG, and Python. His primary focus is teaching of late while also active in research in artificial intelligence.
Content
1 Getting started.- 2 Images and sound.- 3 Math: types, operations, consts, and math functions.- 4 Mouse, and if.- 5 Loops and text input.- 6 Algorithms and the development process.- 7 Functions.- 8 Functions (Continued).- 9 Using the debugger.- 10 Arrays and enum class.- 11 Animation with structs and sprites.- 12 Building your own arcade game: input, collisions, and putting it all together.- 13 Standard I/O and file operations.- 14 Character arrays and dynamic memory (pointers).- 15 Classes: the basics.- 16 Classes, continued.- 17 Operators, and destructors.- 18 Exceptions, recursion, and O notation.- 19 Classes, continued: inheritance.- 20 Template functions and classes.- 21 Multiple inheritance and virtual functions.- 22 Linked lists.- 23 The Standard Template Library (STL).- 24 Building bigger projects.- 25 History.- 26 Esoterica (recommended).- 27 Esoterica (not so recommended).- 28 C.- 29 Moving on with SDL.- Appendices.- A. Help With Setup.- B. Operators.-C. ASCII codes.- D. Fundamental Types.- E. Escape Sequences.- F. Basic C Standard Library.- G. Common Debugger Commands.- H. SSDL Reference