websiteslaha.blogg.se

Conio library in c
Conio library in c





conio library in c

The version done by DJ Delorie for the GO32 extender is particularly extensive. But the library supplied with Borland's Turbo C did not use the DOS API but instead accessed video RAM directly for output and used BIOS interrupt calls they also have additional functions inspired on the succesful Turbo Pascal library.Ĭompilers that targeted non-DOS operating systems, such as Linux, Win32 and OS/2, provided different implementations of these functions. Not all of the conio.h functions are present, such as cgets () and cscanf (), because I havent needed them. So I wrote a conio simulator class to help me. As originally implemented in Lattice C, the various functions mapped directly to the first few DOS int 21h functions. Ive needed to write sample code using conio.h over the years, but my compilers dont support all of it (most notable being clrscr () and gotoxy ()).

conio library in c

The library functions declared by conio.h vary somewhat from compiler to compiler. Some embedded systems are using conio-compatible library. Most C compilers that target UNIX and Linux do not have this header and do not supply the concomitant library functions.

conio library in c

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. This header declares several useful library functions for performing "console input and output" from a program. 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. For the profanity, see wikt:coño.Ĭonio.h is a C header file used in old MS-DOS compilers to create text user interfaces.







Conio library in c