#include #include using namespace std; //These 2 declarations should be written in a header file, and soon will be. extern "C" void f(); //uppercase C in double quotes extern "C" int g(int i); int main() { f(); cout << g(10) << "\n"; return EXIT_SUCCESS; }