从哪里获得 iostream.h [英] Where to get iostream.h

查看:33
本文介绍了从哪里获得 iostream.h的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 Linux 中制作一些东西,但它抱怨找不到 iostream.h.我需要安装什么才能获取此文件?

I'm trying to make something in Linux, but it complains that it can't find iostream.h. What do I need to install to get this file?

推荐答案

这个标准头的正确名称只是 iostream 没有扩展名.

The correct name of this standard header is just iostream without an extension.

如果您的编译器仍然找不到它,请尝试以下操作:

If your compiler still cannot find it, try the following:

find /usr/include -name iostream -type f -print

...并按照编译器的文档将其添加到包含路径中.

...and add it to your include path, following your compiler's documentation.

这篇关于从哪里获得 iostream.h的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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