A simple C++ calculator with vector programming