diff options
| author | dawidg81 <dawidgorski.m@gmail.com> | 2026-02-01 12:18:24 +0100 |
|---|---|---|
| committer | dawidg81 <dawidgorski.m@gmail.com> | 2026-02-01 12:18:24 +0100 |
| commit | f53f3515035da5183ab1d05f74a0ffe44b043808 (patch) | |
| tree | 2ee4a474d95a112b859fd59ff33d0a3d46436323 /src/Utils.cpp | |
| parent | 792d4e4c7e0f736aac837f1ccb77da31127ee253 (diff) | |
removed Utils
Diffstat (limited to 'src/Utils.cpp')
| -rw-r--r-- | src/Utils.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/Utils.cpp b/src/Utils.cpp deleted file mode 100644 index b32b4e8..0000000 --- a/src/Utils.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include "Utils.hpp" - -#include <iostream> -#include <ostream> - -int Utils::catchInputInt(int* input){ - std::cin >> *input; - - if (std::cin.fail()) { - std::cout << "error: Input failed" << std::endl; - return 1; - } - - return 0; -} - -int Utils::catchReturn(int renum){ - if (renum != 0) { - std::cout << "Received error signal, sending further" << std::endl; - } - return 0; -} |
