摘要: 1. 源代码:myEx.cpp#includeusing namespace std;struct AAABBBCCC{ AAABBBCCC():a(0),b(1),c(1.0){} int a; int b; double c; int d[10];};AAABBBCCC changeAAABBBCCC(AAABBBCCC m){ m.a = 10; m.b = 20; m.c = 2.0; return m;};int main (){ AAABBBCCC m; AAABBBCCC n = changeAAABBBCCC(m); cout >& std::endl >( 阅读全文
posted @ 2014-01-10 10:18 迈向疯癫 阅读(1790) 评论(0) 推荐(0) 编辑