By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,804 Members | 1,659 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,804 IT Pros & Developers. It's quick & easy.

header file

P: 18
what does the header file contains?
Nov 5 '06 #1
Share this Question
Share on Google+
2 Replies

P: 4
what does the header file contains?
it's contains
1. include librarys
2. prototypes of your functions in cpp file
you can see this

and this is an example


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
Nov 5 '06 #2

P: 18
sometimes it cotains important macros as well
Nov 5 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.