Why are you creating functions like add, subtract, multiply, divide, etc. when you can just overload the operators? This is C++, not Java.