I have mix-used C and C++ functions a couple of times in the past but I\'m not confident how I should do it now. Here is my situation. I have an open source prog