+ 2

Can anyone tell about different headers and their uses??

thank you

12th Mar 2018, 5:38 AM
Just Me
Just Me - avatar
2 Réponses
+ 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
12th Mar 2018, 6:57 AM
Koketso Dithipe
Koketso Dithipe - avatar
+ 4
Visit : www.cplusplus.com/reference en.cppreference.com/w/cpp/header And browse the headers yourself!
12th Mar 2018, 6:56 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar