摘要:
1 #include <iostream> 2 #include <cmath> 3 using namespace std; 4 5 class Point 6 { 7 public: 8 Point(){} 9 Point(int x, int y){pointX = x; pointY = y;} 10 //Point(Point &p){pointX = p.pointX; pointY = p.pointY;} 11 void setPointValue(); 12 float getX(){return pointX;}... 阅读全文