Help please with a small code conversion

From: Jason (jspaldin_at_umflint.edu)
Date: 10/19/04


Date: 19 Oct 2004 10:36:02 -0700

I am trying to convert a piece of FORTRAN code to C++.

write(ifile,*) h(i,j)

Does this simply write to a file a entry from a Ith by Jth entry of a
matrix? If so what does (ifile, *) do? Does this make the entry
added to a file called (ifile)?

Also there is another line that has me stuck

implicit double precision(a-h,o-z)

I am not sure the significance of implicit. How could I get the same
effect using c++?

Jason Spalding



Relevant Pages

  • Re: ENTRY statement
    ... statements do not define a separate scope. ... of names below and above the entry statement. ... different compilers on Linux - more than I care to try to count at the ... None of this has anything at all to do with implicit. ...
    (comp.lang.fortran)
  • Re: save attribute for module variables
    ... This implicit save is something that I ... This makes the intention of the programmer clear, ... or reinitialized on each entry. ... if the programmer wants reinitialization of ...
    (comp.lang.fortran)
  • Re: how can I parameterize a 1d function by extracting it from a 2d function?
    ... implicit none ... real function existing_fxy ... Saved variables ... entry f_y ...
    (comp.lang.fortran)
  • ENTRY statement
    ... I had a question about how the ENTRY statement passes ... VAR = X + S ... If the function is called via the ENTRY statement, does the IMPLICIT ...
    (comp.lang.fortran)