c++ how to write a header file code example
Example 1: what is a header in c++
int x; // declaration
x = 42; // use x
Example 2: how to include seld declared header file in c++
#include "Employee.h"
//Employee.h should be saved in the same directory.