摘要:
#include "math.h"#include<iostream> using namespace std; class Point { public: Point(double xx, double yy) { x=xx; y=yy; } void Getxy(); friend double Distance(Point &a, Point &b); //类Point的友元函数 friend class Yao; //类Point的友元类private: dou... 阅读全文