ps磨皮插件cc mac2017:C++不能运行生成可执行文件!

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/04 14:27:29
--------------------Configuration: ÓÐ - Win32 Debug--------------------
Compiling...
ÓÐ1.cpp
e:\Á·Ï°´úÂë\ÓÐ\ÓÐ1.cpp(1) : fatal error C1083: Cannot open include file: 'iostream': No such file or directory
Error executing cl.exe.

ÓÐ.exe - 1 error(s), 0 warning(s)

#include <iostream.h>
或者
#include <iostream>
using namespace std;

iostream.h
找不到,这个是一个基本输入输出的库文件。看看程序是不是完全安装,在目录里找找看能不能找到iostream.h。有乱码,你是不是用的中文给文件和文件夹起的名字啊?最好用英文。也有可能是path的问题,你可以我的电脑-属性-高级-环境变量-编辑-在里面添加上你VC的目录用分号和前面的分开。

#include<iostream.h>
文件夹和文件名用英文