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
What is conio.h in a c program?
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).
Reply:"conio.h" means that 'consol input and output' and it contain ur consol input and ouput functions and perform the DOS base tasks
Reply: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.
Reply:Its a header file.Console Input Output
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment