top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration
Print Preview

How to make one header file of our own in program which includes all header files of c?

+1 vote
41 views
posted Feb 16 by anonymous

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

0 votes

Create myownheader.h file and include all other file like,

#include<stdio.h>    
#include<conio.h>    
#include<math.h>    
#include<stdlib.h>    
#include<string.h>    
#include<time.h>    
#include<ctype.h>    
#include<malloc.h>

and when you need any header file in .c file, add only myownheader.h. For example:

#include "myownheader.h"

int main()
{
// my code
}
answer Mar 2 by Mahedra Chaudhari

Useful Links with Similar Problem
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#470/147, 3rd Floor, 5th Main,
HSR Layout Sector 7,
Bangalore - 560102,
Karnataka INDIA.
QUERY HOME
...