top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

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

+1 vote
87 views
How to make one header file of our own in program which includes all header files of c?
posted Feb 16, 2017 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn 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, 2017 by Mahedra Chaudhari
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...