Sujet : Re: Is there a way in Fortran to designate an integer value as integer*8 ?
De : tkoenig (at) *nospam* netcologne.de (Thomas Koenig)
Groupes : comp.lang.fortranDate : 24. Oct 2024, 07:28:34
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vfcpei$2hhb3$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
User-Agent : slrn/1.0.3 (Linux)
Lynn McGuire <
lynnmcguire5@gmail.com> schrieb:
I am going to change all the F77 code to C++ some day. I already have a
heavily modified version of F2C that I have rewritten extensively and
already moved several hundred subroutines from F77 to C++.
Modern Fortran might be the easier way, because a change can be done
incrementally, and this...
The biggest
problem is the F77 write statements.
... would not be an issue. What features is modern Fortran missing that
you need C++ for?
F2C fixes the other big problem
automatically, the change of initial array index from one to zero.
If I remember correctly, it does so by issueing invalid C (or
C++), by using negative offsets from pointers. Might work now,
might not work tomorrow.
But note the IIRC above.