A C++ console line calculator