point类
#include<iostream>
#include<cmath>
using namespace std;
class Point
{
private:
int x,y;
public:
int getx()
{
return x;
}
int gety()
{
return y;
}
void print()
{
cout<<"P("<<Point::x<<","<<Point::y<<")"<<endl;
}
Point(int a,int b)
{
Point::x=a;
Point::y=b;
cout<<"create Point:";
Point::print();
}
Point(const Point& a)
{
x=a.x;
y=a.y;
}
};
class<