c call c++ functions