A basic console-line calculator written in C++