C/Header files Doubt !
Expert: Prince M. Premnath - 7/2/2007
Questioni want to know about the differences between stdio and conio header files
AnswerDear annam !
Set of functions that preforms a common function are grouped into a common header files , similarly the header file stdio.h ( stands for Standard Input / Output .h ) contains function declarations that perform I/O operation !
Functions available under the stdio.h are of course standard library functions , they are compatible to any compilers
Eg : The function printf() will work on any kind of C compiler over any platform and more over these functions will strictly follows the ANSI standards
conio.h stands for console input output.h , this header files provide functions that are not the part of the standard C
Functions available under the header file conio.h are non-standard these functions may vary from compiler to compiler , more over some compiler don't support this header file since they are non-standard
Eg : the function clrscr() will work fine in Turbo C/C++ where as its not supported in MSVC++ 6.0 compiler or DEV C++ compiler
if you expect more informations then don't hesitate to respond me !
Thanks and Regards !
Prince M. Premnath