--------------------Configuration: add - Win32 Debug--------------------
Compiling...
add.cpp
D:\c++区\add.cpp(5) : error C2065: 'cout' : undeclared identifier
D:\c++区\add.cpp(5) : error C2065: 'endl' : undeclared identifier
D:\c++区\add.cpp(5) : warning C4552: '<<' : operator has no effect; expected operator with side-effect
Error executing cl.exe.
add.exe - 2 error(s), 1 warning(s)
楼主:#include 改为#include 吧
|