How can I call a non-system C function f(int,char,float) from my C++ code?, C++ FAQ
If you have an individual C function that you want to call, and for some reason you don't have or don't want to #include a C header file in which that function is declared, you can declare the individual C function in your C++ code using the extern "C" sy...