C++: Creating Simple Text-Based Games

Front Cover
Cengage Learning, Feb 10, 2009 - Computers - 200 pages
C++ Projects: Programming with Text-Based Games is a short text that offers fun C++ game programming examples, with detailed explanations, as a way to explore standard C++ programming topics. Each chapter focuses on one or two topics and presents a single game program that shows the topics in action. The book is designed to be paired with any popular primary C++ text.
Important Notice: Media content referenced within the product description or the product text may not be available in the ebook version.
 

What people are saying - Write a review

User Review - Flag as inappropriate

Very good at conceptual and practical revisions..

Contents

Preface
Read this Before You Begin
Types Variables and Standard IO Lost Fortune
Truth and Branching Guess My Number
Arrays and for Loops Word Jumble
Functions and References Mad Libs
Pointers Inventory
Classes Part 1 Critter Caretaker
Multiple File Programs TicTacToe 20
Files and Streams Trivia Challenge
Dynamically Allocated Memory and Linked Lists Fox Chicken and Grain
Inheritance and Polymorphism TicTacToe 30
Recursion and Binary Trees Famous and Infamous
The Standard Template Library Cards
Templates and Exceptions High Card
Index

Classes Part 2 TicTacToe 10

Common terms and phrases

Bibliographic information