study1.cpp(8): error C2065: 'cout': undeclared identifier
study1.cpp(8): error C2065: 'endl': undeclared identifier
解决方案:
加头文件,名字空间
#include
using namespace std;
study1.cpp(8): error C2065: 'cout': undeclared identifier
study1.cpp(8): error C2065: 'endl': undeclared identifier
解决方案:
加头文件,名字空间
#include
using namespace std;