Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - type-safe linkage _ http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                            Type-Safe Linkage                         _
   Type-safe linkage is a mechanism that ensures that declarations of the
   same  function occurring in separately compiled source files have  the
   same type and number of arguments. It also provides a mechanism  which
   allows  C++  programs  to  be linked  to  files  compiled  with  other
   programming languages such as C. The system is highly dependent on the
   disciplined inclusion of header files for library functions, which  is
   why all functions MUST be declared before being used.

   If   there  is  an  inconsistent  function  declaration  between   two
   separately  compiled source files, the linker will generate  an  error
   concerning  one  or  more unresolved  external  references.


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson