https://blog.csdn.net/a_forever_dream/article/details/88867801
// struct构造函数,说白了,就是初始化// 下面这段代码,看起来很奇怪,可是一定要很熟悉的啊#include <bits/stdc++.h>using namespace std;struct node{int x, y;node(int _x = 0, int _y = 0): x(_x), y(_y){}};int main(){node(2, 3);return 0;}
