--------------------Configuration: wenwen - Win32 Debug--------------------
Compiling...
wenwen.cpp
C:\Documents and Settings\Administrator\桌面\wenwen\wenwen.cpp(5) : error C2059: syntax error : '{'
C:\Documents and Settings\Administrator\桌面\wenwen\wenwen.cpp(5) : error C2143: syntax error : missing ';' before '{'
C:\Documents and Settings\Administrator\桌面\wenwen\wenwen.cpp(5) : error C2143: syntax error : missing ';' before '}'
C:\Documents and Settings\Administrator\桌面\wenwen\wenwen.cpp(5) : error C2143: syntax error : missing ';' before ','
C:\Documents and Settings\Administrator\桌面\wenwen\wenwen.cpp(5) : warning C4508: 'main' : function should return a value; 'void' return type assumed
C:\Documents and Settings\Administrator\桌面\wenwen\wenwen.cpp(5) : error C2143: syntax error : missing ';' before ','
C:\Documents and Settings\Administrator\桌面\wenwen\wenwen.cpp(6) : error C2143: syntax error : missing ';' before 'return'
C:\Documents and Settings\Administrator\桌面\wenwen\wenwen.cpp(7) : error C2143: syntax error : missing ';' before '}'
C:\Documents and Settings\Administrator\桌面\wenwen\wenwen.cpp(7) : error C2143: syntax error : missing ';' before '}'
C:\Documents and Settings\Administrator\桌面\wenwen\wenwen.cpp(7) : error C2143: syntax error : missing ';' before '}'
Error executing cl.exe.
wenwen.exe - 9 error(s), 1 warning(s)
这是谭浩强老师《c++程序设计》里的,是不是因为版本问题啊。