摘要: #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... 阅读全文
posted @ 2012-12-22 14:40 Roarsun 阅读(7085) 评论(0) 推荐(0) 编辑