How do you link a C++ program to C functions?

Q

How do you link a C++ program to C functions?

✍: Guest

A

By using the extern "C" linkage specification around the C function declarations.

2012-03-12, 2598👍, 0💬