Game C++ Programming

This text is a reference for learning and mastering C++ programming for game development (applied perspective). In these pages, we provide links to official code and documentation, discuss the syntax and algorithms, present code examples in self-contained sandboxes with explanations.

Cover image

Copyright © 2023 Benjamin Kenwright.

The code for this book was developed by Benjamin Kenwright and is licensed under the MIT license.

The cover art was created by Benjamin Kenwright and is based on a particle explosion effect.

Special thanks to reviewers, colleagues and friends for input and discussion while developing the initial versions of the text.

Contents

Chapter 1 Introduction and Overview

Chapter 2 Basics C++ (Once Upon A Time...)

Chapter 3 Deeper Understanding

Chapter 4 Making Decisions

Chapter 5 Functions

Chapter 6 Nuts & Bolts of Object Oriented Programming

Chapter 7 Understanding Memory

Chapter 8 Templates

Chapter 9 Errors and Exceptions

Chapter 10 Practical Aspects

Chapter 11 Simple Games

Chapter 12: Beyond (i.e., What Now?)

The Appendix