class hangmanMenu : public menu
{
public:
hangmanMenu(); //default constructor
hangmanMenu(int ch);
void choice(int);
private:
int ch;
int c;
};//end class
#endif
void menu::game()
{
cout<< "main option menu for playing the game. "
<< "In menu public."<<endl
<< "Please enter a letter: "<< endl;
menu::guess();
}
void menu::words()
{
word = "Word list - In menu private";
}
void menu::guess()
{
cout << "Function that will check to see if the letter you guess"
<< " is in the word you are trying to find." <<endl
<< "In menu protected";
}