# RootPrompt.org   Nothing but Unix.[Home] [Features] [Programming] [Mac OS X] [Search]

 Mixed-Language Programming and External Linkage

"It is a common practice to call functions of a C library from a C++ program. This works out well as long as developers restrict themselves to the standard headers and libraries that were supplied with the operating system. But novice programmers may stumble with some link-time errors, as soon as they try to call methods of their own C library from a C++ program. Potential reasons for the failure could include unfamiliarity with linkage specifications and how C/C++ compilers handle symbols during the compilation."

 (Submitted by Noel Fri Mar 25, 2005 )


Our content can be syndicated: Main page Mac Page

Copyright 1999-2005 Noel Davis. Noel also runs web sites about sailing and kayaking.
All trademarks are the property of their owners.
All articles are owned by their author