int main()
{
Point a(3,5);坐标点,后面加了指针符号的是指针
a.Point::showData();
Circle o(2,2,1);
o.Circle::showData();
cout << "圆的面积是" << o.Circle::getArea() << endl;
o.Circle::getRelationOfPointAndCircle(a);
Arc hu(0,0,1,0,30);
hu.Arc::getArc();
cout << "圆弧的长度是" << hu.Arc::getLength() << endl;
cout << "圆弧的面积是" << hu.Arc::getArea() << endl;
hu.Arc::getRelationOfPointAndArc(a);
hu.Arc::getRelationOfArcAndCircle(o);
return 0;
麻烦写详细一点哈
你是认真的嘛