+ 2
Can anyone tell about different headers and their uses??
thank you
2 Respostas
+ 6
Types of Header files
System header files: It is comes with compiler.
User header files: It is written by programmer.
Why need of header files
When we want to use any function in our C++ program then first we need to import their definition from C++ library, for importing their declaration and definition we need to include header file in program by using #include. Header file include at the top of any C++ program.
For example if we use clrscr() in C++ program, then we need to include, conio.h header file, because in conio.h header file definition of clrscr() (for clear screen) is written in conio.h header file.
https://www.sitesbay.com/cpp/cpp-header-files
I hope this helps
+ 4
Visit :
www.cplusplus.com/reference
en.cppreference.com/w/cpp/header
And browse the headers yourself!