Console and CIO framework with the use of C++