From 9033a1d5f00607672c53168c1aa42bbe8b84384a Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 5 May 2022 13:48:30 +0300 Subject: Autocommit at 05.05.2022 @ 13:48 --- src/ConsoleInterface/Toolbox.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/ConsoleInterface') diff --git a/src/ConsoleInterface/Toolbox.hpp b/src/ConsoleInterface/Toolbox.hpp index dcb9459..f7f0447 100644 --- a/src/ConsoleInterface/Toolbox.hpp +++ b/src/ConsoleInterface/Toolbox.hpp @@ -63,4 +63,12 @@ void inputLineBox(const char* label, char* output, unsigned maxWidth) { std::cin.getline(output, maxWidth); } +void printTitle(const char* title) { + std::cout << "## " << title << " ##"; +} + +void printError(const char* message) { + std::cout << "! Err: " << message; +} + #endif -- cgit v1.3.1-26-gb76a