what does the header file contains?
it's contains
1. include librarys
2. prototypes of your functions in cpp file
you can see this
http://www.doc.ic.ac.uk/lab/secondyear/cstyle/node5.html
and this is an example
#include<iostream>
#include<ctime>
#include<cstring>
#include<iomanip>
using namespace std;
int add(int[][6],char [][10],char[][10],char [][10],int);// to add new employ.
void display(int [][6],char [][10],char [][10],char [][10],int );// to display all employes
int Age(char[][10],int );// to calculate Age of employ.
void cmp_ID(int [][6],char [][10],char [][10],char [][10],int );// to compear ID
void cmp_N(int [][6],char [][10],char [][10],char [][10],int );// compar by name.
void swap(int [][6],char [][10],char [][10],char [][10],int );// swap between to employ.
void search(int [][6],char [][10],char [][10],int);// search.
int search_ID(int,int[][6],int );// search py ID of employ.
int search_L_N(char [],char [][10],int );//search by last name.
int search_F_N(char [],char [][10],int );// search by first name