You are here


The conio.h header file used in C programming language contains functions for console input/output. Some of its most commonly used functions are clrscr, getch, getche, kbhit etc. They can be used to clear screen, change color of text and background, move text, check whether a key is pressed or not and to perform other tasks.

Conio.h functions

The Borland Turbo C++ compiler supports "conio.h," but the GCC compiler doesn't. Beginner C/C++ programmers and some books use this file, but it isn't recommended to use it in your software/application. To write portable C language programs, don't use this file. There are also many other header files similar to this one.