A command-line calculator written in C++