Synopses & Reviews
What is it that sets games apart from other forms of entertainment, keeping players coming back for more? Interactivity. The ability to control the outcome. Programming is an integral part of that interactivity, and C++ is a vital skill in programming for games. Beginning C++ through Game Programming, Second Edition will provide you with the core skills you need to begin programming with C++ specifically as it relates to games. You'll reinforce each new skill by creating small games along the way, and you'll put these skills to the test with one ambitious game project at the end. By the time you finish, you'll have a solid foundation in the programming language of the professionals!
BEGINNING C++ THROUGH GAME PROGRAMMING, THIRD EDITION approaches learning C++ from the unique and fun perspective of games. Written for the beginning game developer or programmer, the book assumes no previous programming experience and each new skill and concept is taught using simple language and step-by-step instructions. Readers will complete small projects in each chapter to reinforce what they've learned and a final project at the end combines all of the major topics covered in the book. Featuring twenty five percent new material, this third edition covers all the latest technology and advances.
Table of Contents
Introduction. 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. Index.