摘要: 类成员函数:bool operator ==(const point &a)const { return x==a.x; }友元函数:friend bool operator ==(const point &a,const point &b) { ... 阅读全文