Skip to main content
  • Book
  • © 2019

C++ for Lazy Programmers

Quick, Easy, and Fun C++ for Beginners

Apress

Authors:

  • A uniquely fun, quick, and easy introduction to C++

  • Includes many examples and an arcade game application project

  • Covers the latest C++17

Buy it now

Buying options

eBook USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

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-42
  3. Images and Sound

    • Will Briggs
    Pages 43-60
  4. Numbers

    • Will Briggs
    Pages 61-78
  5. Mouse, and if

    • Will Briggs
    Pages 79-99
  6. Loops, Input, and char

    • Will Briggs
    Pages 101-125
  7. Algorithms and the Development Process

    • Will Briggs
    Pages 127-139
  8. Functions

    • Will Briggs
    Pages 141-170
  9. Functions (Continued)

    • Will Briggs
    Pages 171-189
  10. Using the Debugger

    • Will Briggs
    Pages 191-206
  11. Arrays and enum

    • Will Briggs
    Pages 207-225
  12. Animation with structs and Sprites

    • Will Briggs
    Pages 227-244
  13. Standard I/O and File Operations

    • Will Briggs
    Pages 273-292
  14. Character Arrays and Dynamic Memory

    • Will Briggs
    Pages 293-308
  15. Classes

    • Will Briggs
    Pages 309-327
  16. Classes (Continued)

    • Will Briggs
    Pages 329-352
  17. Operators

    • Will Briggs
    Pages 353-376
  18. Inheritance

    • Will Briggs
    Pages 393-421

About this book

Learn C++ the quick, easy, and “lazy” way. This book is an introductory programming text that uses humor and fun to make you actually willing to read, and eager to do the projects -- with the popular C++ language.


C++ for Lazy Programmers is a genuinely fun learning experience that will show you how to create programs in the C++ language. This book helps you learn the C++ language with a unique method that goes beyond syntax and how-to manuals and helps you understand how to be a productive programmer. It provides detailed help with both the Visual Studio and g++ compilers plus their debuggers, and includes the latest version of the language, C++17, too.  


Along the way you’ll work through a number of labs: projects intended to stretch your abilities, test your new skills, and build confidence. You'll go beyond the basics of the language and learn how build a fun C++ arcade game project. After reading and using this book, you’ll be ready for your first real-world C++ application or game project on your own.  




What You Will Learn
  • Program for the first time in C++ in a fun, quick and easy manner
  • Discover the SDL graphics and gaming library
  • Work with SSDL, the Simple SDLwrapper library
  • Use the most common C++ compilers: Visual Studio, and g++ (with Unix or MinGW)
  • Practice “anti-bugging” for easy fixes to common problems 
  • Work with the debugger
  • Acquire examples-driven concepts and ideas 
  • Build a C++-based arcade game application 
  • Apply built-in Standard Template Library (STL) functions and classes for easy and efficient programming
  • Dip your toe in C, C++'s ancestor, still extensively used in industry
  • Use new C++11/14/17 features including lambda functions, constexpr, and smart pointers



Who This Book Is For


Those who are new to C++, either as a guide for self-learners or as an accessible textbook for 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 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access