From f34e07b4962f65362afa5ca98759e87929d964bc Mon Sep 17 00:00:00 2001 From: dawidg81 Date: Tue, 27 Jan 2026 19:19:30 +0100 Subject: file node --- src/Utils/catchInputInt.cpp | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 src/Utils/catchInputInt.cpp (limited to 'src/Utils/catchInputInt.cpp') diff --git a/src/Utils/catchInputInt.cpp b/src/Utils/catchInputInt.cpp deleted file mode 100644 index da99833..0000000 --- a/src/Utils/catchInputInt.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "Utils.hpp" - -#include -#include - -int Utils::catchInputInt(int* input){ - std::cin >> input; - - if (std::cin.fail()) { - std::cout << "error: Input failed" << std::endl; - return 1; - } - - return 0; -} \ No newline at end of file -- cgit v1.2.3