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
At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers


Described the ISA and HASA class relationships. How would you apply each in a class design? A: A specialized class "is" specialization of another class and, thus, has the ISA re

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b

smugglers transfer the messages from one to another by using the mobile

overloadstream insertion opertator to display the data of object on the console

Create a class  called  ticketSelling that stores booking information of a single performance on a single day and sells the tickets of the performance. The class should include at

Develop a Student class that has the following header file: #ifndef STUDENT_H #define STUDENT_H #include #include #include using namespace std; class Stu

create a shopping cart in c++

Write a programme to display the patern.. A A B A C B A B C A B A A