A student's attempt at implementing a calculator in C++.