#include using namespace std; extern "C" { void my_func() { cout << "This is my_func" << endl; } }