array pointer change after calling FORTRAN subroutine in C++
Steve Kargl
sgk@troutmask.apl.washington.edu
Sun Oct 23 06:24:00 GMT 2011
On Sun, Oct 23, 2011 at 12:52:57AM -0400, Qianqian Fang wrote:
> hi
The name of the language is Fortran not FORTRAN.
Note, this mailing list is for the discussion of
gfortran development. It is not intended as a
a mailing list for mixed language programming
questions.
>
> I am working on a library written in F90 and compiled
> by gfortran.
Does your library work when called from a Fortran program?
Have you fully debugged your library?
> Now I am trying to write a C++ header to
> use the fortran library (.so/.a). I am very new to interfacing
> C/Fortran and found a strange issue when calling the
> fortran code:
You are not interfacing C and Fortran. You are interfacing
C++ and Fortran. Since your new to this endeavor, why
do you call this a strange issue?
--
Steve
More information about the Fortran
mailing list