zhoubinbin
Technical User
Hi, anybody can help me!!
I want to call a C function from a Fortran code, For example, I have a C function void ABC(int *x) saved in C_file.c, I want to call this ABC from a Fortran code, such as
Integer X
Call ABC_(X)
which is in F_file.f
So How to link and compile and run this
Fortran code.
Thanks
Binbin
I want to call a C function from a Fortran code, For example, I have a C function void ABC(int *x) saved in C_file.c, I want to call this ABC from a Fortran code, such as
Integer X
Call ABC_(X)
which is in F_file.f
So How to link and compile and run this
Fortran code.
Thanks
Binbin