回复 3楼 柳絮飞
不行呢 你测试过没??怎么那么多错误的
回复 8楼 liuhoukai
晕啊 你给个什么啊?你自己测试吧--------------------Configuration: Cpp2 - Win32 Debug--------------------Compiling...
Cpp2.cpp
D:\主题\Cpp2.cpp(3) : error C2018: unknown character '0xa3'
D:\主题\Cpp2.cpp(3) : error C2018: unknown character '0xbb'
D:\主题\Cpp2.cpp(4) : error C2018: unknown character '0xa3'
D:\主题\Cpp2.cpp(4) : error C2018: unknown character '0xa8'
D:\主题\Cpp2.cpp(4) : error C2018: unknown character '0xa3'
D:\主题\Cpp2.cpp(4) : error C2018: unknown character '0xa2'
D:\主题\Cpp2.cpp(4) : error C2018: unknown character '0xa3'
D:\主题\Cpp2.cpp(4) : error C2018: unknown character '0xa5'
D:\主题\Cpp2.cpp(4) : error C2146: syntax error : missing ';' before identifier 'scanf'
D:\主题\Cpp2.cpp(4) : error C2018: unknown character '0xa3'
D:\主题\Cpp2.cpp(4) : error C2018: unknown character '0xa2'
D:\主题\Cpp2.cpp(4) : error C2018: unknown character '0xa3'
D:\主题\Cpp2.cpp(4) : error C2018: unknown character '0xac'
D:\主题\Cpp2.cpp(4) : error C2018: unknown character '0xa3'
D:\主题\Cpp2.cpp(4) : error C2018: unknown character '0xa6'
D:\主题\Cpp2.cpp(4) : error C2146: syntax error : missing ';' before identifier 'd'
D:\主题\Cpp2.cpp(4) : warning C4551: function call missing argument list
D:\主题\Cpp2.cpp(4) : error C2018: unknown character '0xa3'
D:\主题\Cpp2.cpp(4) : error C2018: unknown character '0xa9'
D:\主题\Cpp2.cpp(4) : error C2018: unknown character '0xa3'
D:\主题\Cpp2.cpp(4) : error C2018: unknown character '0xbb'
D:\主题\Cpp2.cpp(5) : error C2065: 'd' : undeclared identifier
D:\主题\Cpp2.cpp(5) : error C2146: syntax error : missing ';' before identifier 'x'
D:\主题\Cpp2.cpp(5) : error C2146: syntax error : missing ';' before identifier 't'
D:\主题\Cpp2.cpp(5) : error C2017: illegal escape sequence
D:\主题\Cpp2.cpp(5) : error C2143: syntax error : missing ';' before 'constant'
D:\主题\Cpp2.cpp(20) : error C2065: 'getch' : undeclared identifier
D:\主题\Cpp2.cpp(21) : warning C4508: 'main' : function should return a value; 'void' return type assumed
执行 cl.exe 时出错.