diff options
Diffstat (limited to 'include/startMenu.hpp')
| -rw-r--r-- | include/startMenu.hpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/startMenu.hpp b/include/startMenu.hpp new file mode 100644 index 0000000..0168424 --- /dev/null +++ b/include/startMenu.hpp @@ -0,0 +1,16 @@ +#pragma once +#include <format> +#include <iostream> + +template <typename... FunctionType> +void launchFunction(FunctionType... aFunctions) { + std::cout << "MENU: SELECT THE FUNCTION\n" + << "=========================" << std::endl; + for (size_t aFunctionIndex = 0; aFunctionIndex < sizeof...(aFunctions); + aFunctionIndex++) { + std::cout << std::format("{}) {}", aFunctionIndex + 1, + "currentFunctionName") // FIXME: replace this + << std::endl; + } + std::cout << "=========================" << std::endl; +} |
