Using XL C/C++ with Fortran

With XL C/C++, you can call functions written in Fortran from your C and C++ programs. This section discusses some programming considerations for calling Fortran code in the following areas: In topic Sample program: C/C++ calling Fortran, an example of a C program that calls a Fortran subroutine is provided.

For more information about language interoperability, see the information about the BIND attribute and the interoperability of procedures in the XL Fortran Language Reference.



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us