home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH04 / A04192.WAV (.mp3) < prev    next >
Waveform Audio File Format  |  1993-11-29  |  238.5 KB  |  1 channel  |  11,025 sample rate  |  22 seconds
Transcription: This example shows how to use a linkage specification to call a C function from a C++ program. SUM is declared with the linkage specification XTERNC. This tells the compiler that SUM is a C function. The C++ program can call SUM in the same way it calls a C++ function.