Home : File Types : H File

.H File Extension

File TypeC/C++/Objective-C Header File

3.6 (98 Votes)
CategoryDeveloper Files

What is an H file?

An H file is a header file referenced by a document written in C, C++, or Objective-C source code. It may contain variables, constants, and functions that are used by other files within a programming project. H files allow commonly used functions to be written only once and referenced by other source files when needed.

More Information

H header files are typically used to store C function declarations, as well as macro definitions, which can be used by multiple source files. Header files can be inserted into a .C source code file using the #include directive.

NOTE: H files may also store headers for C++ source code, but those headers are typically saved as .HPP files.

Open and view .H files with File Viewer Plus.
Programs that open H files
Updated 11/8/2019

About H Files

Our goal is to help you understand what a file with a *.h suffix is and how to open it.

The C/C++/Objective-C Header file type, file format description, and Mac, Windows, Linux, and Android programs listed on this page have been individually researched and verified by the FileInfo team. We strive for 100% accuracy and only publish information about file formats that we have tested and validated.

If you would like to suggest any additions or updates to this page, please let us know.