English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I wish to know the necessity of inclusion of conio.h in c programming.what sort of a command is conio.h? what is its function in a c program? what if i don't include this command in my program? what type of files are stored in conio.h

2007-02-09 21:28:35 · 4 answers · asked by ABHINEET 1 in Computers & Internet Programming & Design

4 answers

First of all, conio.h is itself a file, called as 'header file'. The way you include it in your C program is called "preprocessor directive". This will just place all the function definitions in conio.h, in your program while compiling.
conio.h is used basically to clear screen (clrscr()), get characters (getch(), getche(), getchar()), print in colors (cprintf()) and text based graphics programming (like printing in colors, moving around the screen by specifying the position, etc).

2007-02-09 23:30:06 · answer #1 · answered by Srini 1 · 0 0

Its a header file.Console Input Output

2007-02-10 06:27:05 · answer #2 · answered by sm030 2 · 0 0

"conio.h" means that 'consol input and output' and it contain ur consol input and ouput functions and perform the DOS base tasks

2007-02-10 05:32:39 · answer #3 · answered by Abd-ul-Rehman 2 · 0 0

it is a header file used in old MS-DOS compilers.we should include this header file in our program when we use the functions like clrscr(),getch() and getche.

2007-02-10 06:26:08 · answer #4 · answered by maha l 1 · 0 0

fedest.com, questions and answers