#include<iostream>
#include<cstdio>
using namespace std;
const int N=11;
int n,m;
struct node
{
int x1,y1,x2,y2;
void copy(node &temp){
x1=temp.x1;
y1=temp.y1;
x2=temp.x2;
y2=temp.y2;
}
}a[N];
int main(){
node temp;
cin>>a[0].x1>>a[0].y1>>a[0].x2>>a[0].y2;
temp.copy(a[0]);
cout<<temp.x1<<" "<<temp.y1<<" "<<temp.x2<<" "<<temp.y2;
return 0;
}
结构体赋值--更改中
猜你喜欢
转载自blog.csdn.net/lianghudream/article/details/84324185
今日推荐
周排行