|
--------------------Configuration: Cpp1 - Win32 Debug--------------------
Compiling...
Cpp1.cpp
D:\c++\Cpp1.cpp(10) : error C2065: 'cout' : undeclared identifier
D:\c++\Cpp1.cpp(10) : error C2297: '<<' : illegal, right operand has type 'char [6]'
D:\c++\Cpp1.cpp(11) : error C2297: '<<' : illegal, right operand has type 'char [25]'
D:\c++\Cpp1.cpp(11) : error C2065: 'endl' : undeclared identifier
D:\c++\Cpp1.cpp(12) : error C2297: '<<' : illegal, right operand has type 'char [6]'
D:\c++\Cpp1.cpp(13) : error C2297: '<<' : illegal, right operand has type 'char [25]'
D:\c++\Cpp1.cpp(17) : error C2297: '<<' : illegal, right operand has type 'char [6]'
D:\c++\Cpp1.cpp(1 : error C2297: '>>' : illegal, right operand has type 'char [25]'
D:\c++\Cpp1.cpp(19) : error C2297: '<<' : illegal, right operand has type 'char [6]'
D:\c++\Cpp1.cpp(20) : error C2297: '>>' : illegal, right operand has type 'char [25]'
Error executing cl.exe.
Cpp1.obj - 10 error(s), 0 warning(s)
我用的是visual c++ 6.0 |
|