回复 2楼 embed_xuel
:\Program Files\Microsoft Visual Studio\7\7.cpp(18) : error C2065: 'exit' : undeclared identifier
C:\Program Files\Microsoft Visual Studio\7\7.cpp(21) : warning C4508: 'main' : function should return a value; 'void' return type assumed
C:\Program Files\Microsoft Visual Studio\7\7.cpp(25) : error C2065: 'name' : undeclared identifier
C:\Program Files\Microsoft Visual Studio\7\7.cpp(25) : error C2100: illegal indirection
C:\Program Files\Microsoft Visual Studio\7\7.cpp(25) : error C2440: '=' : cannot convert from 'int' to 'char *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Program Files\Microsoft Visual Studio\7\7.cpp(26) : error C2100: illegal indirection
C:\Program Files\Microsoft Visual Studio\7\7.cpp(26) : error C2440: '=' : cannot convert from 'int' to 'char *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
执行 cl.exe 时出错.
7.exe - 1 error(s), 0 warning(s)
还有这个。。。。。。。