Beginning C++ Through Game Programming, 4th Edition

  • Michael Dawson UCLA
  • ISBN-10: 1305109910  |  ISBN-13: 9781305109919
  • 352 Pages
  • Previous Editions: 2011, 2007, 2004
  • © 2015 | Published
  • List Price = $ 39.99
  • For quantity discounts, Contact your Representative
  • For single copy purchases, visit



When it comes to game programming, C++ is the name of the game. If you aspire to move from game player to game creator, it all starts with learning the fundamentals of C++ and game-programming basics. With BEGINNING C++ THROUGH GAME PROGRAMMING, FOURTH EDITION, you will find an up-to-date and thorough introduction to everything you need to get started—with no previous programming experience required. In the new fourth edition of this popular guide to learning C++, you will work with a complete program while learning each new concept and a game program at the end of each chapter. A final game project at the end of the book draws together everything you’ve learned. Written with the beginning programmer in mind, BEGINNING C++ THROUGH GAME PROGRAMMING, FOURTH EDITION is a great way to get started in game programming.

Features and Benefits

  • Written for the beginner, this book assumes no previous programming experience.
  • Includes projects to emphasize what has been learned.
  • Comes complete with Q&As, extensive end-of-chapter exercises, and web downloads to reinforce self-practice and learning.

Table of Contents

1. Types, Variables, and Standard I/O: Lost Fortune.
2. Truth, Branching, and the Game Loop.
3. For Loops, Strings, and Arrays: Word Jumble.
4. The Standard Template Library: Hangman.
5. Functions: Mad Lib.
6. References: Tic-Tac-Toe.
7. Pointers: Tic-Tac-Toe 2.0 .
8. Classes: Critter Caretaker.
9. Advanced Classes and Dynamic Memory.
10. Inheritance and Polymorphism: Blackjack.
Appendix A: Creating Your First C++ Program.
Appendix B: Operator Precedence.
Appendix C: Keywords.
Appendix D: ASCII Chart.
Appendix E: Escape Sequences.

What's New

  • This edition brings full updates and approximately 25% new material.
  • Text and programs have been updated to work with the new Microsoft Visual Studio.

Meet the Author

Author Bio

Michael Dawson

Michael Dawson has worked as both a programmer and a computer game designer and producer. In addition to real-world game industry experience, Dawson earned his bachelor's degree in Computer Science from the University of Southern California. He currently teaches game programming and design to students of all ages through UCLA Extension courses and private lessons. Visit his Web site at to learn more or to get support for any of his books.