/*改错*/ /*#include <stdio.h> void main() { struct { char flag; float t; } STC; STC a={'a',46}; printf("%c,%f\n",a.flag,a.t); }*/ /*改之后*/ #include <stdio.h> void main() { struct STC { char flag; float t; } a; struct STC a={'a',46};//报错error C2086: 'a' : redefinition printf("%c,%f\n",a.flag,a.t); }
DOUBLE_l
慕的地6079101
fat4
DOUBLE_l
DOUBLE_l
相关分类