摘要: #includeusing namespace std;struct Point { int x, y; Point(int x=0, int y=0):x(x),y(y) {}};int main() { Point p1, p2; swap(p1, p2); return 0;} 1 ... 阅读全文
posted @ 2015-03-14 01:48 Geekers 阅读(238) 评论(0) 推荐(0) 编辑