#include extern "C" int foo(); int main() { std::cout << "Starting\n"; std::cout << foo() << "\n"; return 0; }