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

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

0 comments:

Post a Comment

Blogger news