Course Technology - Beginning CPP Game Programming
Table of Contents
BackCover
Beginning C++ Game Programming
Introduction
How This Book iIs Organized
Conventions Used in This Book
The CD-ROM
A Word about Compilers
Chapter 1: Types, Variables, and Standard I/O--Lost Fortune
Introducing C++
Writing Your First C++ Program
Working with the std Namespace
Using Arithmetic Operators
Declaring and Initializing Variables
Performing Arithmetic Operations with Variables
Working with Constants
Introducing Lost Fortune
Summary
Questions and Answers
Discussion Questions
Exercises
Chapter 2: Truth, Branching, and the Game Loop--Guess My Number
Understanding Truth
Using the if Statement
Using the else Clause
Using the switch Statement
Using while Loops
Using do Loops
Using break and continue Statements
Using Logical Operators
Generating Random Numbers
Understanding the Game Loop
Introducing Guess My Number
Summary
Questions and Answers
Discussion Questions
Exercises
Chapter 3: For Loops, String, and Arrays--Word Jumble
Using for Loops
Understanding Objects
Using string Objects
Using Arrays
Understanding C-Style Strings
Using Multidimensional Arrays
Introducing Word Jumble
Summary
Questions and Answers
Discussion Questions
Exercises
Chapter 4: The Standard Template Library--Hangman
Introducing the Standard Template Library
Using Vectors
Using Iterators
Using Algorithms
Understanding Vector Performance
Examining Other STL Containers
Planning Your Programs
Introducing Hangman
Summary
Questions and Answers
Discussion Questions
Exercises
Chapter 5: Functions--Mad Lib
Creating Functions
Using Parameters and Return Values
Understanding Software Reuse
Working with Scopes
Using Global Variables
Using Global Constants
Using Default Arguments
Overloading Functions
Inlining Functions
Introducing the Mad Lib Game
Summary
Questions and Answers
Discussion Questions
Exercises
Chapter 6: References--Tic-Tac-Toe
Using References
Passing References to Alter Arguments
Passing References for Efficiency
Deciding How to Pass Arguments
Returning References
Introducing the Tic-Tac-Toe Game
Summary
Questions and Answers
Discussion Questions
Exercises
Chapter 7: Pointers--Tic-Tac-Toe 2.0
Understanding Pointer Basics
Understanding Pointers and Constants
Passing Pointers
Returning Pointers
Understanding the Relationship between Pointers and Arrays
Introducing the Tic-Tac-Toe 2.0 Game
Summary
Questions and Answers
Discussion Questions
Exercises
Chapter 8: Classes--Critter Caretaker
Defining New Types
Using Constructors
Setting Member Access Levels
Using Static Data Members and Member Functions
Introducing the Critter Caretaker Game
Summary
Questions and Answers
Discussion Questions
Exercises
Chapter 9: Advanced Classes and Dynamic Memory--Game Lobby
Using Aggregation
Using Friend Functions and Operator Overloading
Dynamically Allocating Memory
Working with Data Members and the Heap
Summary
Questions and Answers
Discussion Questions
Exercises
Chapter 10: Inheritance and Polymorphism--Blackjack
Introducing Inheritance
Controlling Access under Inheritance
Calling and Overriding Base Class Member Functions
Using Overloaded Assignment Operators and Copy Constructors in Derived Classes
Introducing Polymorphism
Using Abstract Classes
Organizing Your Code
Introducing the Blackjack Game
Appendix A: Creating Your First C++ Program
Appendix B: Operator Precedence
Appendix C: Keywords
Appendix D: ASCII Chart
Appendix E: Escape Sequences
Index
Index_B
Index_C
Index_D
Index_E
Index_F
Index_G
Index_H
Index_I-J
Index_K
Index_L
Index_M
Index_N
Index_O
Index_P
Index_Q
Index_R
Index_S
Index_T
Index_U
Index_V
Index_W-X
Index_Y-Z
List of Figures
List of Tables
CD Content
Certificate of Deposit
Certificates of Deposit
webbdesign
Cheap
used cell phones
for sale