为什么我找不到<&CONIO.H GT;在Linux上?
可能重复:结果
如何实现的getch()C函数在Linux呢?一>
我一直在寻找一个的Linux
版本 CONIO.H
头文件,但还没有发现任何...
I've been searching for a Linux
version of the conio.h
Header file, but haven't found any...
我用 GCC
和文本编辑器 Geany
编译我的Ç
code。
I'm using gcc
and the Text-Editor Geany
to compile my C
Code.
有没有办法来取代它的功能?例如,残培()
Is there a way to replace its functions? For example, getch()
感谢您
CONIO.H
是 C
头在旧的MS-DOS使用的文件编译器创建文本用户界面。编译器,有针对性非DOS操作系统,比如Linux,Win32和OS / 2,提供的这些功能不同的实现。
conio.h
is a C
header file used in old MS-DOS compilers to create text user interfaces. Compilers that targeted non-DOS operating systems, such as Linux, Win32 and OS/2, provided different implementations of these functions.
的的#include<&curses.h里GT;
会给你几乎所有在 CONIO.H $ C $提供的功能C>
有关残培()
类的功能,你可以尝试的这个
For getch()
class of functions, you can try this