It is very simple to create own header file in c languages various steps are :
1. Open turbo c/c++ coding window and type this code
#include"header_file_name.h"
If you have stored that header file in include folder then call it like this
#include<header_file_name.h>
All the Functions defined in the allicient.h file are now ready for use . So Directly call function mul(); [ Provide proper parameter and take care of return type ]
4. Save this file with (.c) extension and compile and then run.
1. Open turbo c/c++ coding window and type this code
2. save this file with extension (.h) in particular dir.
3. Open new coding windows and call your header file here if you have saved that custom header file in bin folder then call it like this#include"header_file_name.h"
If you have stored that header file in include folder then call it like this
#include<header_file_name.h>
All the Functions defined in the allicient.h file are now ready for use . So Directly call function mul(); [ Provide proper parameter and take care of return type ]
4. Save this file with (.c) extension and compile and then run.
Post a Comment