Glossary: Header File

A header file is any file that provides a standard code fragment that is to be included in a source file. Typically the source code for a class is divided into 2 files. For example MyClass:- The header file provides the compiler with:- That is to say all the information the compiler needs to create objects and send them messages. The implementation file contains the member function code. So, a class's header file loosely corresponds to its abstraction while the implementation file corresponds to its encapsulation.
See OO Concepts: Header and Implementation Files
Go Back to the The Glossary Top Page


If you have any comments about this page please send them to Nick West