< Previous | Contents | Next >

Setting Up the Program

As usual, I start with some comments and include the files I need. You can download the code for this program from the Course Technology website (www. courseptr.com/downloads). The program is in the Chapter 3 folder; the filename is word_jumble.cpp.

// Word Jumble

// The classic word jumble game where the player can ask for a hint


#include <iostream> #include <string> #include <cstdlib> #include <ctime>


using namespace std;