无法打开输入文件'iostream'数字火星编译器错误 [英] Unable to open input file 'iostream' digital mars compiler error

查看:102
本文介绍了无法打开输入文件'iostream'数字火星编译器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

在编译cplus plus文件时,编译器会给出错误



无法打开输入文件'iostream'



我尝试了什么:



将文件iostream放在同一个地方文件夹作为dm.exe这是bin文件夹仍然没有编译

解决方案

iostream 是一个C ++头文件,应由编译器安装suite(通常位于名为 include 的编译器套件目录的子目录中)。



编译源文件时,编译器将检查特定目录找到包含文件。这些目录必须在项目和/或常规设置中配置。



我不知道DM编译器,但根据网页快速研究,有一个配置文件在 / dm / bin / 目录中命名为 sc.ini 。此文件应包含要搜索包含文件的pathes列表(另请参阅 DMC - Digital Mars:sc.ini [ ^ ])。



也可以使用环境变量指定路径(请参阅 DMC - 数字火星:环境变量 [ ^ ])



确保包含 iostream 文件的目录列在 INCLUDE INI文件的部分或 INCLUDE 环境变量。



如果没有 iostream 文件在编译器的子目录中检查安装(它可能不完整或损坏)。



有关更多信息,请查看编译器文档塔季翁。

Hello,
On compiling cplus plus file the compiler gives the error

"unable to open input file 'iostream'"

What I have tried:

put the file iostream in the same folder as dm.exe which is the bin folder still doesnt compiles

解决方案

iostream is a C++ header file that should be installed by your compiler suite (usually in a sub directory of the compiler suite directory named include).

When compiling source files, the compiler will check specific directories to locate include files. These directories must be configured in the project and/or general settings.

I don't know the DM compiler but according to a quick web research there is a configuration file named sc.ini in the /dm/bin/ directory. This file should contain a list of pathes to be searched for include files (see also DMC - Digital Mars: sc.ini[^]).

The pathes may be also specified using an environment variable (see DMC - Digital Mars: Environment variables[^] )

Ensure that the directory containing the iostream file is listed in the INCLUDE section of the INI file or the INCLUDE environment variable.

If there is no iostream file in a sub directory of the compiler check the installation (it may be incomplete or broken).

For further information check the compiler documentation.


这篇关于无法打开输入文件'iostream'数字火星编译器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆