using namespace std;
很基础的问题,上面这个有什么用?教科书上都会有,为什么我在dev-c++里面加上就没问题,可是在VC++6 里面加上就出错?
出错信息如下:
D:\Myfile\Cpp1.cpp(2) : error C2871: 'std' : does not exist or is not a namespace
Error executing cl.exe.
Cpp1.obj - 1 error(s), 0 warning(s)
...全文
20216打赏收藏
using namespace std;
using namespace std; 很基础的问题,上面这个有什么用?教科书上都会有,为什么我在dev-c++里面加上就没问题,可是在VC++6 里面加上就出错? 出错信息如下: D:\Myfile\Cpp1.cpp(2) : error C2871: 'std' : does not exist or is not a namespace Error executing cl.exe. Cpp1.obj - 1 error(s), 0 warning(s)