I'm having problems with my switch statement, i try to call a member function of my calculator class inside of my switch statement and i keep getting errors.
I have 5 of the same errors, here is the switch statement:Code:
main.cpp 18 error: expected primary-expression before "double"
Obviously it's not finished yet but i don't want to carry on if it's got errors.Code:
NewCalc.Multiply(double, double, double);
Can someone help me out?