i have another assignment (the last thank goodness) but here it is...
i have to write the definitions for the functions in a class....these happen to deal w/funciton overloading, i had a similar assignment earlier....am i doing this right? //the first one imparticular
Code:// prefix ++ operator Point& operator++(pt) { x_ = pt.x_++; y_ = pt.y_++; z_ = pt.z_++; } const Point operator++(int); // postfix ++ operator Point& operator-(); // prefix -- operator const Point operator-(int); // postfix -- operator