Glossary: Implementation File
Typically the source code for a
class
is divided into 2 files. For example MyClass:-
- MyClass.h - the header file
- MyClass.cxx - the implementation file
The header file provides the compiler with
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 & Implementation Files
Go Back to the
The Glossary Top Page
If you have any comments about this page please send them to
Nick West