Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
Implementation files contain the definitions of functions and member functions
Implementation files commonly have the .cpp filename extensions.
Implementation files must not be called from code, but added to your project instead. This varies per IDE. Not having added all the needed implementation files results in link errors like 'unresolved external' or 'undefined reference'. These link errors say nothing more than 'You have #included HeaderX.h, but you have not added HeaderX.cpp to your project'.
The combination of a header (.h) file and an implementation (.cpp) file is called a unit.
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.