struct A { int a, b; A(int x, int y) :a(x), b(y){} }; int main() { A a(1, 2); cout << a.a << " " << a.b << endl; }
posted on 2016-06-15 21:13 Kooing 阅读(167) 评论(0) 编辑 收藏 举报