gpt4 book ai didi

c++ - 数字火星 - 无法打开输入文件 'iostream'

转载 作者:塔克拉玛干 更新时间:2023-11-03 06:59:22 25 4
gpt4 key购买 nike

我正在使用“Digital Mars”编译以下程序:

#include <iostream>
using namespace std;

int main() {
cout <<"My name is Abder-Rahman";
return 0;
}

这就是我得到的:

C:\Users\Software Engineer\Desktop\C++\dm852c\dm\bin>dmc print1 fatal error :无法打开输入文件“iostream”--- 错误级别 1

有什么想法吗?

谢谢。

最佳答案

检查 VernonDozier 关于 this problem 的回答:

The code is fine. Your compiler installation is probably broken. You have a bad include path, permissions problems, or you have files missing.

您的编译器可能配置错误。我推荐你阅读 this post .

关于c++ - 数字火星 - 无法打开输入文件 'iostream',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4716702/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com