#include#include using namespace std;///////类Point//////class Point{ public: Point(int x=0, int y=0):X(x),Y(y){ cout<<"ppppppp\n"; } void setPoint(int x,int y); int getX()const{return X;} int getY()const{return Y;} void showPoint()const; protected: int X; int Y;};void Point::setPoint(int x,int y){ X=x;Y=y;}void Point::showPoint()const{ cout<<"Point:("<<<","<<<")"<
全部评论
相关推荐
03-16 02:29
门头沟学院 Java 点赞 评论 收藏
分享

点赞 评论 收藏
分享
03-12 11:58
北京外国语大学 平台产品 
点赞 评论 收藏
分享