复制构造函数的作用
摘要:#include using namespace std; class point { public: point(int xx = 0,int yy = 0){//如果构造函数里没有初始值传进来,默认xx = 0,yy =0 x = xx,y = yy; } point(point &p); int getx(){ retur...
阅读全文
posted @ 2019-06-16 10:41
浙公网安备 33010602011771号