回复 4楼 yuccn
--------------------Configuration: 调试 - Win32 Debug--------------------
Compiling...
调试.cpp
F:\黑下\VC6EN\MSDev98\MyProjects\调试\调试.cpp(3) : error C2065: 'MAXBYTE' : undeclared identifier
F:\黑下\VC6EN\MSDev98\MyProjects\调试\调试.cpp(3) : error C2057: expected constant expression
F:\黑下\VC6EN\MSDev98\MyProjects\调试\调试.cpp(3) : error C2466: cannot allocate an array of constant size 0
F:\黑下\VC6EN\MSDev98\MyProjects\调试\调试.cpp(4) : error C2057: expected constant expression
F:\黑下\VC6EN\MSDev98\MyProjects\调试\调试.cpp(4) : error C2466: cannot allocate an array of constant size 0
F:\黑下\VC6EN\MSDev98\MyProjects\调试\调试.cpp(6) : error C2065: 'OSVERSIONINFO' : undeclared identifier
F:\黑下\VC6EN\MSDev98\MyProjects\调试\调试.cpp(6) : error C2146: syntax error : missing ';' before identifier 'OsVer'
F:\黑下\VC6EN\MSDev98\MyProjects\调试\调试.cpp(6) : error C2065: 'OsVer' : undeclared identifier
F:\黑下\VC6EN\MSDev98\MyProjects\调试\调试.cpp(8) : error C2228: left of '.dwOSVersionInfoSize' must have class/struct/union type
F:\黑下\VC6EN\MSDev98\MyProjects\调试\调试.cpp(9) : error C2065: 'GetVersionEx' : undeclared identifier
F:\黑下\VC6EN\MSDev98\MyProjects\调试\调试.cpp(11) : error C2228: left of '.dwPlatformId' must have class/struct/union type
F:\黑下\VC6EN\MSDev98\MyProjects\调试\调试.cpp(11) : error C2065: 'VER_PLATFORM_WIN32_NT' : undeclared identifier
F:\黑下\VC6EN\MSDev98\MyProjects\调试\调试.cpp(13) : error C2228: left of '.dwMajorVersion' must have class/struct/union type
F:\黑下\VC6EN\MSDev98\MyProjects\调试\调试.cpp(13) : error C2228: left of '.dwMinorVersion' must have class/struct/union type
F:\黑下\VC6EN\MSDev98\MyProjects\调试\调试.cpp(15) : error C2065: 'printf' : undeclared identifier
F:\黑下\VC6EN\MSDev98\MyProjects\调试\调试.cpp(15) : error C2228: left of '.szCSDVersion' must have class/struct/union type
F:\黑下\VC6EN\MSDev98\MyProjects\调试\调试.cpp(17) : error C2228: left of '.dwMajorVersion' must have class/struct/union type
F:\黑下\VC6EN\MSDev98\MyProjects\调试\调试.cpp(17) : error C2228: left of '.dwMinorVersion' must have class/struct/union type
F:\黑下\VC6EN\MSDev98\MyProjects\调试\调试.cpp(28) : error C2065: 'GetComputerName' : undeclared identifier
F:\黑下\VC6EN\MSDev98\MyProjects\调试\调试.cpp(32) : error C2065: 'GetUserName' : undeclared identifier
执行 cl.exe 时出错.
调试.exe - 1 error(s), 0 warning(s)