Header file | |
---|---|
Filename extension | .h |
Internet media type | text/plain + |
Opens with | C/C++ compilers/editors/IDEs |
File formats category - |
The header file or include file is a source code file that a compiler, usually a C or C++ compiler, automatically includes when processing another file.
Programmers typically specify header files to process using a directive in the source file. For example, to automatically include the header file "foo.h", one would type this in top of a C file:
#include "foo.h"
External links[]
- Header file at Wikipedia