Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hplsla!jima From: jima@hplsla.HP.COM (Jim Adcock) Newsgroups: comp.lang.c++ Subject: Re: Scientific programming in C++ ? Message-ID: <6590183@hplsla.HP.COM> Date: 5 Jul 89 18:12:24 GMT References: <3146@portia.Stanford.EDU> Organization: HP Lake Stevens, WA Lines: 11 >Unfortunately, mixing Fortran with C++ >ranges from undocumented to impossible. I haven't tried this but -- Iff one has a fortran compiler that uses compatible linking protocols with one's "C" compiler, and one had a C++ compiler that supports the 'extern "C" {declarations here};' construct, then one shouldn't have much problems linking in fortran routines -- I would think. The trick would be just to pretend one's fortran routines are actually C routines. If one's fortran isn't compatible with "C", then one would have to hope one day one will have a compiler that actually supports 'extern "FORTRAN" {declarations here};'