- Conio.h
conio.h is a header file used in old
MS-DOS compilers to createtext user interface s, however, it is not part of theC programming language , theC standard library ,ISO C or required byPOSIX .This header declares several useful library functions for performing "console input and output" from a program. Most C compilers that target DOS, Windows 3.x, Phar Lap, DOSX,
OS/2 , or Win32 have this header and supply the concomitant library functions in the default C library. Most C compilers that targetUNIX and Linux do not have this header and do not supply the concomitant library functions.The library functions declared by conio.h vary significantly from compiler to compiler. As originally implemented in
Microsoft 'sVisual C++ the various functions mapped directly to the first fewDOS int 21h functions. But the library supplied withTurbo C++ andBorland C++ did not use the DOS API but instead accessed video RAM directly for output and usedBIOS interrupt call s.Compilers that targeted non-DOS operating systems, such as
Linux , Win32 and OS/2, provided different implementations of these functions.Member functions
ee also
* curses
*ncurses
*SMG$ References
* [http://www.digitalmars.com/rtl/conio.html Digital Mars's documentation]
* [http://www.lysator.liu.se/c/c-faq/c-16.html IO FAQ] - explanation and suggestions for non-standard console IO
* [http://conio.sourceforge.net/ Borland-style CONIO implementation for MinGW/Dev-C++]
* [http://c-faq.com/osdep/cbreak.html List of ways to get raw keyboard input]
Wikimedia Foundation. 2010.