OON: CPPF77, portable calls to F77 from C++

From: Carsten Arnholm (arnholm@online.no)
Date: Fri Oct 17 1997 - 17:54:30 EST


Hello everybody,

This is to announce that my package and documentation for how to call
FORTRAN 77 from C++ in a portable way is available free at
http://home.sol.no/~arnholm/ as a ZIP-file. A short intro can also be found
at http://www.hal9k.com/cug/v400d.htm#cug477.

The ZIP-file contains a document explaining the technique, as well as C++
header files required when calling Fortran from C++. There is also a
utility program for generating inlined stub-code when porting a mixed
C++/F77 program from Windows NT to Unix. This technique ensures that
neither the C++, nor the F77 code needs to be modified when porting between
these environments. Actually, calling a Fortran subroutine becomes quite
natural, using this technique, even if you involve CHARACTER strings,
COMPLEX variables, two-dimensional arrays etc.

The code has been tested with Visual C++ 4.0, 4.2 and MS Fortran
Powerstation, as well as Visual C++ 5.0 and Digital Visual Fortran. Code
using the package has been ported to SGI IRIX.

I welcome questions or other feedback.
Regards,
Carsten Arnholm
arnholm@online.no



This archive was generated by hypermail 2b29 : Wed Feb 20 2002 - 03:20:06 EST