Equivalent data types for Fortran to C++

The following examples illustrate how C++ and Fortran routines within a single ILC application might code the same data types. The examples might be clearer to you if you first read Passing data between C++ and Fortran, which describes how a C++ routine can receive parameters that are passed by value and by reference.