摘要: struct test{int a=1111111; }test; struct test{const int a=1111111; }test; struct test{ }test; 同样问题:http://stackoverflow.com/questions/13662441/c11-all 阅读全文
posted @ 2017-03-15 11:22 琦在江湖飘 阅读(4277) 评论(0) 推荐(0) 编辑
摘要: 来自网络的一个解释参考: typedef struct tagMyStruct { int iNum; long lLength; } MyStruct; 上面的tagMyStruct是标识符,MyStruct是变量类型(相当于(int,char等))。 这语句实际上完成两个操作: 1) 定义一个新 阅读全文
posted @ 2017-03-15 11:15 琦在江湖飘 阅读(2308) 评论(0) 推荐(0) 编辑