# include<iostream>
using namespace std;
class Point{
public: //<span style="color:#ff6666;">共有</span>
<span style="color:#ff6666;"> int x;
int y;
void show(){
cout<<x<<endl;
cout<<y<<endl;</span>
}
};
int main()
{
Point p;
p.x=3;
p.y=4;
p.show();
return 0;
}
class 问题 p点坐标
最新推荐文章于 2022-09-05 22:42:00 发布