题目内容
写程序运行结果#include using namespace std;class point {public:void setPoint(int px=10,int py=10){ x=px; y=py; }friend int getpx(point a);friend int getpy(point b);private:int x,y;};int getpx(point a){return a.x;}int getpy(point a){return a.y;}int main(){point p,q;p.setPoint();q.setPoint(15,15);cout<
查看答案
搜索结果不匹配?点我反馈
更多问题