Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

what is the <conio.h> header file used for?

+3 votes
asked Sep 21, 2020 by DINESH 12011631 (180 points)

1 Answer

+1 vote
answered Sep 21, 2020 by LiOS (6,420 points)

A brief overview of conio.h is below:

The conio.h header file is a system header file, specific to Turbo C, which predates C by many years and is specific to the DOS command line.

conio.h supports a range of functions that you may use in a C program. However, the header file itself and the functions were largely replaced by the <stdio.h> header file.

commented Sep 24, 2020 by 1906072 (100 points)
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, nor is it defined by POSIX. This header declares several useful library functions for performing "console input and output" from a program.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...