Problem in declaration
Could anybody tell me what is wrong with this statement
where INT is an integer variable to be passed from outside. I do not
know FORTRAN but I have a code that I must use which is written in
FORTRAN. I searched the Internet but could not find any clue.
- Re: Cant understand the arguement list.
... Amit Bhatia wrote: ... | I am trying to use a fortran subroutine in one of my c++ programs. ... | int or double.. ... Fortran passes all arguments by reference, including scalars and arrays, ...
- Re: Form k = i + j and test for overflow.
... int, and declare it as anything _other_ than integer in Fortran, and ... the appropriate way to handle such from Fortran is to ... declare the C function as returning a C_INT, ... programmer can't say: ...
- Re: Press any key to continue?
... it can't be done in Fortran. ... int main ... printf ("Press carriage return\n"); ... I believe that the printf is the only thing that can't be bound ...
- Fortran calling C; wrappers, pointer placeholders and structs?
... Fortran. ... print *, 'Calling C function fillit' ... print *, 'Calling C function modit' ...
- Re: commas
... int x = 5000000; ... That was true of old-style FORTRAN. ... In the new format the mistake described below wouldn't ... listing, printed on low quality paper with a cheap, almost worn out, ...