| "parse error before <type>" error messages before you get to the "such-and-such not defined here" messages? You need to deal with those first. In particular, to fix that, you need to put your return type on the left side of point::.
point::void setX(double q) {x=q;}
becomes
void point::setX(double q) {x=q;}
I bet if you fix those, a lot of your other errors will go away. Also, you might want to comment out your overloaded operator functions, so their error messages aren't getting in the way until you're ready to deal with them. |