c++ a header file has .cpp extension code example
Example: how to include seld declared header file in c++
#include "Employee.h"
//Employee.h should be saved in the same directory.
#include "Employee.h"
//Employee.h should be saved in the same directory.