How do you connect a c++ program to c functions?, C/C++ Programming

A: Using the extern "C" linkage specification around the C function declarations.

Programmers must know about mangled function names and type-safe linkages. After that they must explain how the extern "C" linkage specification statement turns that feature off throughout compilation so that the linker correctly links function calls to C functions.

 

Posted Date: 3/20/2013 3:38:10 AM | Location : United States







Related Discussions:- How do you connect a c++ program to c functions?, Assignment Help, Ask Question on How do you connect a c++ program to c functions?, Get Answer, Expert's Help, How do you connect a c++ program to c functions? Discussions

Write discussion on How do you connect a c++ program to c functions?
Your posts are moderated
Related Questions

It is standard on functions to provide some indication that the function has succeeded in its operation. Consider the Scanf function:     scanf("%d",&number1);   If the functio

Project Description: I have a code that works different on 64 bit and 32 bit system. Code is relative to some crypt functions, similar, but not equal to: I have to move fr

find wether specific word is inside a pool of word and what is the direction e.g. north



find the occurence of zy in the final string

what is an array?


if one won't explicitly call the destructor of a local; then how does he handle the above situation?