1 2 3 4 5 6 7 8
#include <iostream> extern "C" double fortran(); int main(void) { std::cout << "FORTRAN gave us this number: " << fortran() << '\n'; return 0; }