谁能帮我看看是哪出错了?

Build Log

--------------------Configuration: k1 - Win32 Debug--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\kangk\LOCALS~1\Temp\RSP64.tmp" with contents [ /nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"Debug/k1.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c "E:\专业学习\新做程序\k1.cpp" ] Creating command line "cl.exe @C:\DOCUME~1\kangk\LOCALS~1\Temp\RSP64.tmp" Creating temporary file "C:\DOCUME~1\kangk\LOCALS~1\Temp\RSP65.tmp" with contents [ kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:yes /pdb:"Debug/k1.pdb" /debug /machine:I386 /out:"Debug/k1.exe" /pdbtype:sept ".\Debug\k1.obj" ] Creating command line "link.exe @C:\DOCUME~1\kangk\LOCALS~1\Temp\RSP65.tmp"

Output Window

Compiling... k1.cpp e:\专业学习\新做程序\k1.cpp(16) : error C2065: 'cout' : undeclared identifier e:\专业学习\新做程序\k1.cpp(16) : error C2297: '<<' : illegal, right operand has type 'char [3]' e:\专业学习\新做程序\k1.cpp(16) : error C2065: 'endl' : undeclared identifier e:\专业学习\新做程序\k1.cpp(17) : error C2065: 'cin' : undeclared identifier e:\专业学习\新做程序\k1.cpp(17) : error C2296: '>>' : illegal, left operand has type 'double' e:\专业学习\新做程序\k1.cpp(17) : error C2297: '>>' : illegal, right operand has type 'double' e:\专业学习\新做程序\k1.cpp(20) : error C2297: '<<' : illegal, right operand has type 'char [4]' e:\专业学习\新做程序\k1.cpp(21) : error C2296: '>>' : illegal, left operand has type 'double' e:\专业学习\新做程序\k1.cpp(21) : error C2297: '>>' : illegal, right operand has type 'double' e:\专业学习\新做程序\k1.cpp(46) : error C2297: '<<' : illegal, right operand has type 'char [5]' 执行 cl.exe 时出错.

Results

k1.exe - 1 error(s), 0 warning(s)

你可能感兴趣的:(C++,运行,休闲,结果)