Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "Point2D.h"
- //const wurden von mir selbst gesetzt - richtig?
- CPoint2D::CPoint2D(const float mx, const float my)
- {
- this->mx = mx;
- this->my = my;
- }
- ostream& operator<<(ostream& out, const CPoint2D& p)
- {
- out << "MPoint=(" << p.mx << "|" << p.my << ")";
- return out;
- }
Advertisement
Add Comment
Please, Sign In to add comment