I'd like to call a fortran subroutine from my c program.
The complie error i have so far is :
Code:
warning: implicit declaration of function 'MIEV0'
Im not sure how to link the fortran function in the c program.
heres my code.
Thanks
Code:
#include <stdio.>
int main()
{
//declare all the variables to send to subroutine
//...enter in variables for the external subroutine
// which includes a struct for complex numbers
// call fortran subroutine
MIEV0(&variable1,&variable2....);
//prints a result.
return 0;
}