well it's a good start but it could use some work. I can tell you that I would get some errors if I compiled this.
Code:
int main()
{
using namespace std;
You declare the namespace in main, but your using iostream objects before main.
Code:
int answer(int ans)
{
cout << "\nAnswer: " << ans << "\n";
}
should be void, your not returning anything
Code:
int select(unsigned short int sel)
{
Math *NewMath = new Math; //Creates math object on the heap
switch (sel)
{
case 5: cout << "Exiting...\n"; //Exiting Program
break;
case 4: cout << "Mutilping...\n"; //Calling Mutilpe Function
NewMath->SetXY();
answer(NewMath->Mult());
break;
case 3: cout << "Dividing...\n"; //Calling Divide Function
NewMath->SetXY();
answer(NewMath->Div());
break;
case 2: cout << "Subtracting...\n"; //Calling Subtract Function
NewMath->SetXY();
answer(NewMath->Sub());
break;
case 1: cout << "Adding...\n"; //Calling Add Function
NewMath->SetXY();
answer(NewMath->Add());
}
delete NewMath; //Delete Math object
}
Ditto on this function. You got a great start here. I find the structure of the program a little strange in some areas but that will improve as you gain experience. Keep up the good work.