diff options
Autocommit at 02.05.2022 @ 07:14
1 files changed, 6 insertions, 0 deletions
| -rw-r--r-- | src/ConsoleInterface/Toolbox.cpp | 6 |
diff --git a/src/ConsoleInterface/Toolbox.cpp b/src/ConsoleInterface/Toolbox.cpp index 6e67dcb..ccab1b7 100644 --- a/src/ConsoleInterface/Toolbox.cpp +++ b/src/ConsoleInterface/Toolbox.cpp @@ -1,4 +1,10 @@ #include "Toolbox.h" +#include <iostream> + +template <class T> +void read(T* storage) { + std::cin >> storage; +} template <class T> void print(const T* item) { |
