#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-17 09:09
河北师范大学 安卓 点赞 评论 收藏
分享
02-28 20:19
长春工程学院 Java 点赞 评论 收藏
分享
