我要评分
获取效率
正确性
完整性
易理解

Migrating the Library That Uses the Fortran Interface

The procedure of migrating the library that uses the Fortran interface is the same as that in Migrating the Library Using C Language.

To ensure successful linking when C/C++ and Fortran programming languages are used together, add an underscore (_) to the names of the global variables and functions in the C code that exchange information in hybrid programming, or use the compilation option -fno-underscoring. Otherwise, a linking error is reported.