A calculator written in C++