File Formats Wiki
Advertisement
Header file
Blank

Filename extension .h
Internet media type text/plain +
Opens with C/C++ compilers/editors/IDEs
File formats category - v  e   edit
Smallwikipedialogo.png Wikipedia has an article related to:

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[]

Advertisement