#ifndef HEADER_CONSOLEINTERFACE_TOOLBOX #define HEADER_CONSOLEINTERFACE_TOOLBOX #include template void read(T* storage) { std::cin >> storage; } template void read(T& storage) { std::cin >> storage; } template void print(const T* item) { std::cout << item; } template void printLine(const T* item) { std::cout << item << std::endl; } template void print(const T& item) { std::cout << item; } template void printLine(const T& item) { std::cout << item << std::endl; } int orderedListIndex = 1; void printOrderedListElem(const char* message) { std::cout << orderedListIndex << ". "; printLine(message); } void resetOrderedList(int starter = 1) { orderedListIndex = starter; } template void inputBox(T* output, const char* label) { std::cout << "+ " << label; std::cin >> output; } void inputStrBox(char* output, unsigned maxLength, const char* label) { std::cout << "+ " << label; std::cin.getline(output, maxLength); } #endif