Hi, Conio.h is a header file which have functions declaration. One of them is clrscr() function. This function have its prototype in conio.h. clrscr() function is used to clear the screen. Thus, whenever u called clrscr() function u r required to define conio.h header file in your program.... Similarly there are many functions in conio.h.... Hope it will help u....
stdio.h
The std::pow() function can be found in the <cmath> header.
string.h
#include<stdio.h> Another answer: Nothing.
Hi, Conio.h is a header file which have functions declaration. One of them is clrscr() function. This function have its prototype in conio.h. clrscr() function is used to clear the screen. Thus, whenever u called clrscr() function u r required to define conio.h header file in your program.... Similarly there are many functions in conio.h.... Hope it will help u....
conio.h is a library function which is predefined in the header file and 'clrscr();','getch();' and many other functions come under this.
stdio.h
The std::pow() function can be found in the <cmath> header.
string.h
No. Header files are those which contains declaration part of function & library files are those which contains definition part of function. These are those functions which we called in our program by using header files.
You define the function at the same time you declare it, usually in the header file, sometimes in an .hpp file.
You need to #include the header file that contains the missing function's declaration.
#include<stdio.h> Another answer: Nothing.
Header files are not much different from usual cpp files. There are basically two different things. It's file extension: you need to choose "header file" when you create it or save as .h file. Second is header files do not have main() function. When you are done with you header file do not forger to include it in your project by writing preprocessor directive:#include "your_header_file.h"
It contains useful function-prototypes.
What do you mean by \'alternate function of clrscr\'? A function that undoes clrscr? Or one that fills the screen with random characters? Anyway, clrscr is not part of the standard C library, it is DOS-specific.