摘要: 关于结构体构造函数 struct node { int a,b,c; node (int x, int y, int z) : a(x), b(y), c(z) {}//大括号内可以执行语句 }; node 即为构造函数 相当于 struct node { int a,b,c; node (int 阅读全文
posted @ 2021-07-12 19:27 White0413 阅读(18) 评论(0) 推荐(0)
Language: HTML