#ifndef POINT_CPP #define POINT_CPP class Point { float x; float y; public: Point::Point() { x = 0; y=0;} Point::Point(float i,float f) { x = i; y = f;} Point::Point(Point* p) { x = p->get_x(); y = p->get_y();} void Point::set_x(float ii) { x = ii;} void Point::set_y(float f) { y=f;} float Point::get_y() const { return y; } float Point::get_x() const { return x; } }; #endif