#include <stdio.h>
int main(void)
{
return 0;
}
--------------------Configuration: a - Win32 Debug--------------------
Compiling...
a.cpp
c:\program files\microsoft visual studio\vc98\include\stdio.h(220) : error C2144: syntax error : missing ';' before type 'int'
c:\program files\microsoft visual studio\vc98\include\stdio.h(220) : error C2501: '_CRTIMP' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\stdio.h(220) : fatal error C1004: unexpected end of file found
Error executing cl.exe.a.exe - 3 error(s), 0 warning(s)
int main(void)
{
return 0;
}
--------------------Configuration: a - Win32 Debug--------------------
Compiling...
a.cpp
c:\program files\microsoft visual studio\vc98\include\stdio.h(220) : error C2144: syntax error : missing ';' before type 'int'
c:\program files\microsoft visual studio\vc98\include\stdio.h(220) : error C2501: '_CRTIMP' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\stdio.h(220) : fatal error C1004: unexpected end of file found
Error executing cl.exe.a.exe - 3 error(s), 0 warning(s)
==========
后面的“;”看看是不是全角的这符
楼主不会是误操作修改了stdio.h文件吧?
重新编译试试
_CRTIMP extern FILE _iob[];--指示这里
#endif /* _STDIO_DEFINED */