C++ Programming Question: Download C++ Programming PDF
How do you link a C++ program to C functions?
Answer:
By using the extern "C" linkage specification around the C function declarations.
Previous Question | Next Question |
How do I initialize a pointer to a function? | Explain the scope resolution operator. |