Hey there first off I would like to reccomend you use codetags whenever you post code to the forums (Hint: the <> off to the right when replying) it makes the code much easier to read. Now on to the problems
First It is always a good idea to get familiar with compiler errors for whatever compiler you are using. Try writing simple code that you know works and compiles and then start removing things and creating errors to see what different error messages you get. This way you will have a better idea what the errors mean.
Also Always work from the first error down. Like if there is a error on line 4 and line 8 and line 10. Always start on the line 4 because alot of the time the other errors are caused because of the first ones.
1) Line 41
1 2 3 4 5
|
sum = a - b;
cout << sum << endl;
return 0;
)
|
Notice the ")". This is not suppose to be here delete it.
2) Line 56
cin << sum = a * b;
Not sure why you are using
cin
here. If you are trying to assign a*b to sum you just need to do this
sum = a * b;
3) Your mispelling the classes. Look at how the classes are spelled in your definitions and when you call them in main. Always make sure you have the correct spelling and it is case sensitive.
4) Your subtraction class is missing a } look it over and see where you are missing it.
5) You have a lot of variables declared that you are not using. If you are not going to use these delete them.
Hope this help alittle