c++ - Possible reason for error C2146: syntax error : missing ...

c++ - Possible reason for error C2146: syntax error : missing ...

瀏覽:1441
日期:2025-10-03
Two things: First, you're missing a semi-colon after the struct definition: // common .h typedef struct MyStruct { int a; }; ^. Not that this is still wrong....看更多