C++ calculator command-line app