diff options
| author | Arthur Spears <[email protected]> | 2024-04-25 20:19:57 -0700 |
|---|---|---|
| committer | Arthur Spears <[email protected]> | 2024-04-25 20:19:57 -0700 |
| commit | d65138f2e040fe4193ea3fb4e2908bd0b161aadd (patch) | |
| tree | 821fc4ca98777efd74334829599ea0876fe79b08 /CST 126/Homework 1/menu.hpp | |
| parent | mergine develop after PR (diff) | |
| download | archived-homework-1-arthurtspears-Homework2.tar.xz archived-homework-1-arthurtspears-Homework2.zip | |
Started Homework2. Stubbed out main and worker threads. Organized other source files better.Homework2
Diffstat (limited to 'CST 126/Homework 1/menu.hpp')
| -rw-r--r-- | CST 126/Homework 1/menu.hpp | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/CST 126/Homework 1/menu.hpp b/CST 126/Homework 1/menu.hpp index 849f21a..c384927 100644 --- a/CST 126/Homework 1/menu.hpp +++ b/CST 126/Homework 1/menu.hpp @@ -8,7 +8,7 @@ using std::cout; using std::cin; using std::endl; -inline void DisplayMenu() { +inline void DisplayMenuHomework1Menu() { cout << "***************************************************************" << endl; cout << "Welcome to the menu!\n"; cout << "1. Currency Converter\n"; @@ -19,34 +19,9 @@ inline void DisplayMenu() { cout << "Please pick a number for your choice: "; } -inline void Worker() { - int input = 0; - DisplayMenu(); - cin >> input; - while (input != 5) - { - switch (input) { - case 1: - //Call Currency Function - break; - case 2: - //Call Guessing Game Function - OutputRandomNumber(); - break; - case 3: - //Call Temperature Logger - break; - default: - cout << "\nInvalid option, please pick again..\n"; - } - DisplayMenu(); - - cin >> input; - } -} #endif
\ No newline at end of file |