关于输出的菜鸟问题
#include <iostream.h> main() {int i=5; char c ='s'<<"i="<<i<<",c="<<c<<"\n"; } --------------------Configuration: 1 - Win32 Debug-------------------- Compiling... 1.cpp G:\c++练习区\1\1.cpp(4) : error C2297: '<<' : illegal, right operand has type 'char [3]' G:\c++练习区\1\1.cpp(5) : warning C4508: 'main' : function should return a value; 'void' return type assumed Error executing cl.exe.
1.exe - 1 error(s), 1 warning(s) 这是怎么回事啊!!!!