H, C/C++/Objective-C Header File (.h)

The H Developer file format

Source code documents written in either C, C++ or Objective-C often times reference to external header files. These files are typically saved with the H file extension. The H file is a good way to outsource commonly used functions from the actual code files. This way, every file that references the header file uses the functions written inside the H file. Changes have only to be made once and automatically apply to all source code instances that reference the H file.

Technical details of H files

The creation of H files as header files for source code files is an economic way to save time while coding or changing code. Header files with the H extension can contain functions, variables and constants. Another document written in either C, C++ or Objective-C can reference the H file, thus applying the functions, etc. defined in the H file. In other instances, H files are known to be used by Java as well.

More information about the H file format

File extension .h
File category Developer
Associated programs BloodshedSoftware Dev-C++ (Windows)
Borland C++ Compiler (Windows)
Code::Blocks (Windows, Mac & Linux)
Eclipse IDE for C Developers (Windows, Mac & Linux)
Embarcadero C++ Builder (Windows)
GNU Compiler Collection (Mac & Linux)
GNU Emacs (Linux)
gVim (Windows)
MacroMates TextMate (Mac)
MacVim (Mac)
Microsoft Visual Studio (Windows)
Vi (Linux)

Any Text Editor
Useful links Further Information About H Header Files
Developer N/A
Advertisement