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:
Identifiers
Corresponding data types
Character and aggregate data
Function calls and parameter passing
Pointers to functions
Sample program: C/C++ calling Fortran
provides an example of a C program which calls a Fortran subroutine.
Related information
Calling Fortran code
[
Provide feedback
]