First tell me what is header file ?
A header file is the file which contain different function for different reason.
So I am creating a file which contain the personal info of my blog,
using that header file I need not to create a all details every time, When I needed at any time, I can add that header file in header section and call that function which is defined inside that header files.
Open Text editor and create a new file by name myinfo.h And write the following code
cout<<"\nName : Lovely Coding";
cout<<"\nCoding : Get Project and Program in C and C++ ";
Save it in include folder now.
And create a new file and save it on bin folder
cout<<"\n I am calling a function which is defined in myhead.h header file";