+ 1

How to make your own header files in c++?

8th Feb 2017, 1:43 PM
Prateek Negi
Prateek Negi - avatar
4 Respuestas
+ 2
Dont make Main function in any File and Save it as headerfile_name.h and Which can contain number of method except Main function
8th Feb 2017, 1:59 PM
Shreyance Gupta
Shreyance Gupta - avatar
+ 2
example:- #include<iostream.h> #include<conio.h> #include<math.h> #include<stdio.h> #include<time.h> //now save above file as:- Mustafa.h Then in any of your program just include the file <Mustafa.h> and all the defined header files will be included in your program
8th Feb 2017, 2:26 PM
Mustafa Rokadiya
Mustafa Rokadiya - avatar
+ 1
thanks bro!
8th Feb 2017, 2:22 PM
Prateek Negi
Prateek Negi - avatar
+ 1
what if i will make my own function in my own header file??
8th Feb 2017, 2:28 PM
Prateek Negi
Prateek Negi - avatar