1 2 3 4 5 6
#include <iostream> extern "C" void printHelloCpp() { std::cout << "Hello from C++ in " << __FILE__ << std::endl; }