报错 :
error C2143: syntax error : missing ';' before '<class-head>'
fatal error C1004: unexpected end of file found
求帮助
...全文
给本帖投票
6239打赏收藏
很奇怪不能在头文件里声明结构体么? 在线等
在.h中 这样声明 #pragma once struct mystruct { int a; int b; }; 报错 : error C2143: syntax error : missing ';' before '' fatal error C1004: unexpected end of file found 求帮助