Calling FORTRAN from C (Was: Need matrix inversion C routine).

Per Abrahamsen amanda at iesd.dk
Sat May 6 23:07:19 AEST 1989


In article <1415 at uw-entropy.ms.washington.edu> charlie at mica.stat.washington.edu (Charlie Geyer) writes:

   ... How to write an intellegent C program [...] that calls a
   Fortran subroutine or is called by one. I know there is no portable
   answer to this now.  But shouldn't there be?

Something like

	extern "<language>" subrutine();

where <language> is any supported language?

C++ offer you that...

--
Per Abrahamsen,  amanda at iesd.dk, {...}!mcvax!diku!iesd!amanda



More information about the Comp.lang.c mailing list