is it possible to call a C++ function from FORTRAN such as
#include <iostream.h>
extern "C"
{
void single_cell(void)
{
cout<<"Hi from C++";
}
}
So when I am using C it is working fine but with the C++ function it gives errors like Undefined error to cout etc
using namespace std;orstd::coutbut i dont think this will work in anextern "C"include<iostream>and usestd::cout, but I don't know it will be working