How does one create his own (having any name)header file,
which uses any user defined functions??
How does one create his own (having any name)header file,
which uses any user defined functions??
You just create a new file called something .h (technically, there is no strict requirement to call the file .h either - but it helps others understand what the file contains). How you create a new file depends on the tools you use to edit files - without knowing if you are using for example Visual Studio on Windows, or Emacs on Linux, to give two completely different examples, none of us can tell you what steps you need to follow to create a new file.
Once you have an empty file, you need to put into it whatever you feel it should contain. There are no strict rules, but generally you only put declarations on header files, and implementations/definitions in the .c/.cpp files.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.