Skip to main content
  • Book
  • © 2021

C++20 for Lazy Programmers

Quick, Easy, and Fun C++ for Beginners

Apress

Authors:

  • Covers many examples, including an arcade game application project

  • Includes help with both the Visual Studio and g++ compilers plus their debuggers

  • Source code available at https://github.com/Apress/cpp20-for-lazy-programmers

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (29 chapters)

  1. Front Matter

    Pages i-xxvii
  2. Getting Started

    • Will Briggs
    Pages 1-46
  3. Images and Sound

    • Will Briggs
    Pages 47-65
  4. Numbers

    • Will Briggs
    Pages 67-84
  5. Mouse, and if

    • Will Briggs
    Pages 85-105
  6. Loops, Input, and char

    • Will Briggs
    Pages 107-131
  7. Algorithms and the Development Process

    • Will Briggs
    Pages 133-145
  8. Functions

    • Will Briggs
    Pages 147-177
  9. Functions, Continued

    • Will Briggs
    Pages 179-197
  10. Using the Debugger

    • Will Briggs
    Pages 199-215
  11. Arrays and enum

    • Will Briggs
    Pages 217-236
  12. Animation with structs and Sprites

    • Will Briggs
    Pages 237-255
  13. Standard I/O and File Operations

    • Will Briggs
    Pages 285-304
  14. Character Arrays and Dynamic Memory

    • Will Briggs
    Pages 305-323
  15. Classes

    • Will Briggs
    Pages 325-344
  16. Classes, Continued

    • Will Briggs
    Pages 345-367
  17. Operators

    • Will Briggs
    Pages 369-394
  18. Inheritance

    • Will Briggs
    Pages 411-438

About this book

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


Who This Book Is For


All who are new to C++, either self-learners or students in college-level courses. 

Authors and Affiliations

  • Lynchburg, USA

    Will Briggs

About the author

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.

Bibliographic Information

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access