我的VC哪根筋搭错了?
// 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?????????????????
//
#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?????????????????
...全文
相关推荐
某集团QC活动的开展方法.pptx
某集团QC活动的开展方法.pptx
可燃气体报警器电路设计:滞回比较器与延时防误报方案
气敏传感器是气体检测的核心器件,其电阻型特性易受环境与浓度波动影响,直接导致报警器误报或反复触发。工程实践中常通过滞回比较器设置双阈值,利用正反馈形成电压窗口,同时配合RC延时电路屏蔽传感器上电预热的初始漂移。这两种模拟信号处理手段能有效抑制临界点抖动,保障继电器与联动设备的可靠运行。基于GS-A2电阻型气敏元件,结合分压检测、滞回阈值计算、NE555声光报警及标准气标定流程,形成一套完整的可燃气体报警器设计方案。该方案适用于石油化工、燃气厨房等需泄漏自动通风的场所,也可作为模拟电子技术课程设计的参考实现。
提高电厂室外构筑物工程清水混凝土成型qc成果报告精品.pptx
提高电厂室外构筑物工程清水混凝土成型qc成果报告精品.pptx
马钢南山QC成果演示文稿1.pptx
马钢南山QC成果演示文稿1.pptx
提高手掘式顶管顶进施工质量培训教材.pptx
提高手掘式顶管顶进施工质量培训教材.pptx


