- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
在运行一个简单的 c 程序时,我收到一个
Unresolved inclusion: <conio.h>
我错过了什么?我在 fedora 13
上使用 eclipse。请帮我解决这个问题。如果我丢失任何文件或没有安装任何东西,请告诉我。我也是软呢帽的新手。请指导我正确的步骤。
提前致谢。
最佳答案
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
并且不要使用该 header 中的任何函数。
关于c - Unresolved inclusion : <conio. h>。为什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3733488/
这个问题在这里已经有了答案: 关闭 10 年前。 Possible Duplicate: How to implement getch() function of C in Linux? MS-DO
这个问题在这里已经有了答案: 关闭9年前。 Possible Duplicate: How to implement getch() function of C in Linux? MS-DOS 中
我经常看到人们在 C 和 C++ 中使用 conio.h 的头文件,尽管我看不到使用 conio.h< 内部函数的任何重大好处 与标准库函数的比较。 conio.h 的缺点还在于依赖于 Windows
在我的应用程序中,我使用 conio 库中的函数 textbackground() 。我有 16 种可用颜色: #define BLACK 0 #define BLUE 1 #define GREEN
我一直在研究在用 C 编写的 DOS 程序中使用颜色。有人告诉我 conio.h 具有 textcolor() 函数,但是当我在我的代码中使用它时,编译器/链接器抛出错误提示我有一个未定义的函数引用。
我通常使用 VS,但第一次尝试使用 cygwin。我正在使用 Windows 7,但在使用 gcc 编译 hello world 程序时,它显示“ fatal error :conio.h:没有这样的
这个问题在这里已经有了答案: Where is the header file on Linux? Why can't I find ? [duplicate] (4 个回答) 去年关闭。 我是 C
与 C++ 中一样,头文件使用时不带 .h 扩展名,如 而不是但在 的情况下它不一样。为什么我们不能使用 最佳答案 C++ 标准指定哪些 header 是 C++ 标准库的一部分。除了 C++ 特定
我想制作一个永远运行并接受用户输入的程序,例如 while(1) { if(currentkeybeingpressed != NULL) { print(the c
我正在开发 Intel Edison,并使用 Eclipse Kepler 作为 IDE,并使用 Intel system studio 作为工具链。然而,某个相当重要的程序需要头文件 conio.h
我正在尝试编写一个程序来访问用户的名称并打印每个元素及其地址,但无法弄清楚我的代码会发生什么。如果Gcc编译器不支持Conio.h库那么我该怎么办?我可以在不使用 conio.h 库的情况下编写程序吗
很难说出这里问的是什么。这个问题是含糊的、模糊的、不完整的、过于宽泛的或修辞性的,无法以目前的形式得到合理的回答。如需帮助澄清此问题以便重新打开它,visit the help center 。 已关
嘿,我刚刚找到了一个我想使用的名为 coni.h 的库来更改文本颜色。但是我在其中一个函数中遇到错误:textcolour(RED);它说它是未定义的。 #include #include #in
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 关于您编写的代码问题的问题必须在问题本身中描述具体问题 — 并且包括有效代码 以重现它。参见 SSC
我正在使用 Code::Blocks,问题是我尝试了很多次来解决 Conio 库和其他一些库的问题。每次我使用类似 clrscr(); textcolor(); 或它所说的任何内容时; Undefi
#include "stdio.h" #include "conio.h" #include "stdlib.h" #define RANGE(i, min, max) (imax) ? 1: 0 i
我参加过很多在线编程比赛,他们通常会提到 #include表示 conio.h header 不能使用。我不知道这个头文件包含的所有函数,但很想知道为什么这不是一个好的编程习惯?如果有人能解释它的一些
这个问题在这里已经有了答案: Why the use of "conio.h" is not good habit of programming? (2 个答案) 关闭 9 年前。 几年前我开始用
我在 Windows 上编写了这个简单的程序。由于 Windows 有 conio,所以它工作得很好。 #include #include int main() { char input;
关闭。这个问题需要debugging details .它目前不接受答案。 想改进这个问题?将问题更新为 on-topic对于堆栈溢出。 6年前关闭。 Improve this question 我有
我是一名优秀的程序员,十分优秀!