我的VC哪根筋搭错了?

ntzls ntzls 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
// DrawCos.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
using namespace std;
int main(int argc, char* argv[])
{
cout<<"Hello World!\n";
return 0;
}
--------------------Configuration: DrawCos - Win32 Debug--------------------
Compiling...
DrawCos.cpp
C:\Program Files\Microsoft Visual Studio\MyProjects\DrawCos\DrawCos.cpp(5) : error C2871: 'std' : does not exist or is not a namespace
C:\Program Files\Microsoft Visual Studio\MyProjects\DrawCos\DrawCos.cpp(8) : error C2065: 'cout' : undeclared identifier
C:\Program Files\Microsoft Visual Studio\MyProjects\DrawCos\DrawCos.cpp(8) : error C2297: '<<' : illegal, right operand has type 'char [14]'
Error executing cl.exe.

DrawCos.exe - 3 error(s), 0 warning(s)
-----------------------------------------------------------
'std' : does not exist or is not a namespace?????????????????

...全文

相关推荐

评论 2
收藏 已收藏
分享
返回顶部
ntzls
VC/MFC 16,550 成员 421,606 内容