On Jun 12, 2:47pm, Peter Shenkin wrote:
> Subject: Re: C++ & Fortran 90
> On Jun 12, 12:51pm, Jaehoon Seol wrote:
> > Subject: C++ & Fortran 90
....
>
> Certainly, extern "C" works for F77 procedures being called from
> C++ programs, modulo the usual caveats involving system dependence of
> doing this kind of thing in general. But if you can call your Fortran
> routines from C, then extern "C" should allow you to call them the
> same way from Fortran on the same platform.
^^^^^^^^^^^^
...
Of course, I meant "from C++".
-P.
--
*********** How can we have ethnic music without ethnic hatred? ***********
* Peter S. Shenkin; Chemistry, Columbia U.; 3000 Broadway, Mail Code 3153 *
** NY, NY 10027; [log in to unmask]; (212)854-5143; FAX: 678-9039 ***
*MacroModel WWW page: http://www.columbia.edu/cu/chemistry/mmod/mmod.html *
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|