未解析的包含物:< conio.h&gt ;.为什么? [英] Unresolved inclusion: <conio.h>. Why?

查看:386
本文介绍了未解析的包含物:< conio.h&gt ;.为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行一个简单的c程序时,我收到一个

While running a simple c program I receive an

Unresolved inclusion: <conio.h> 

我缺少什么?我在 fedora 13 上使用eclipse。请帮我解决这个问题。如果我缺少任何文件或没有安装任何东西让我知道。我也是新来的fedora。

What am I missing? I am using eclipse on fedora 13. Please help me resolve this problem. If I am missing any file or haven't installed anything let me know. Also I am new to fedora. Guide me with proper steps please.

提前感谢。

推荐答案


conio.h是一个C头文件,用于旧的MS-DOS编译器创建文本用户界面。它不在C编程语言书中描述,它不是C标准库的一部分,ISO C也不是POSIX需要的。

conio.h is a C header file used in old MS-DOS compilers to create text user interfaces. It is not described in The C Programming Language book, and it is not part of the C standard library, ISO C nor is it required by POSIX.

由于你在Linux上,要解决它,不要使用 conio.h ,并且不要使用该标题中的任何函数。

Since you are on Linux, to resolve it don't include conio.h and don't use any functions from that header.

来源

这篇关于未解析的包含物:&lt; conio.h&gt ;.为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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