aboutsummaryrefslogtreecommitdiff
path: root/CST 126/Homework 1/menu.hpp
diff options
context:
space:
mode:
authorArthur Spears <[email protected]>2024-04-25 20:19:57 -0700
committerArthur Spears <[email protected]>2024-04-25 20:19:57 -0700
commitd65138f2e040fe4193ea3fb4e2908bd0b161aadd (patch)
tree821fc4ca98777efd74334829599ea0876fe79b08 /CST 126/Homework 1/menu.hpp
parentmergine develop after PR (diff)
downloadarchived-homework-1-arthurtspears-d65138f2e040fe4193ea3fb4e2908bd0b161aadd.tar.xz
archived-homework-1-arthurtspears-d65138f2e040fe4193ea3fb4e2908bd0b161aadd.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.hpp27
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