A C++ interface for cleaner interaction with the console.