// Menu and prompt test program. // These functions lay the ground-work for the Text-RPG game. #include #include #include using namespace std; // Prompt Function Prototypes: string promptForText(string prompt); bool promptForYesNo(string prompt); /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * P U T Y O U R M E N U C L A S S H E R E * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ // Implement the Menu class here. // Consider what member functions can be inline, and which must be non-inline // (see assignment description). /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * T E S T D R I V E R C O D E You should not need to modify the code in this section Un-comment the test code as you implement the functions. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ // Test function prototypes void testPromptForString(); void testPromptForYesNo(); void testDoHorizontalMenu(); void testDoVerticalMenu(); /* Simple test program for the user input functions. */ int main() { cout << "NOTE TO PROGRAMMER!"<> holdOpen; return 0; } /* Test the promptForText() function. */ void testPromptForString() { /* cout << endl << endl; cout << "*******************************" << endl; cout << "Testing Prompt for String."<