From 4167f92f3d36b7384c4c5f8bf7501bba52e91a0c Mon Sep 17 00:00:00 2001 From: Aotrix Date: Sun, 29 Jun 2025 02:16:13 +0200 Subject: refactoring and added start menu --- include/startMenu.hpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 include/startMenu.hpp (limited to 'include/startMenu.hpp') 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 +#include + +template +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; +} -- cgit v1.2.3