+ 1

What is the use of header file <conio.h>,getch().....in C language

Basics of C

2nd Sep 2017, 12:55 PM
GANESH CHAVHAN
GANESH CHAVHAN - avatar
3 Answers
+ 11
conio.h is a C header file used mostly by MS-DOS compilers to provide console input/output. It is not part of the C standard library or ISO C. - Wiki.
2nd Sep 2017, 1:09 PM
Hatsy Rei
Hatsy Rei - avatar
+ 10
conio.h is console input output. It provide functions like putchar() , cprintf(), clrscr() etc.Although it is not a part of standard library. getch() reads a single byte character from input. getch() is a way to get a user inputted character. It can be used to hold program execution, but the "holding" is simply a side-effect of its primary purpose, which is to wait until the user enters a character.
2nd Sep 2017, 1:10 PM
P R
P R - avatar