Of course, you nearly always include header files, such as
iostream.h
, for functions supplied by C++ standard library.
Consequently, when the C++ compiler links object files to create an
executable program, it encounters functions for which it has seen function
prototypes but no corresponding function definitions. Whenever that
happens, the C++ compiler looks for the appropriate object code in a
standard library file. The location of this standard library file
generally is provided to the compiler when the compiler is installed.