
May 8th, 2008, 09:36 AM
|
|
Registered User
|
|
Join Date: May 2008
Posts: 24
Time spent in forums: 6 h 59 m 43 sec
Reputation Power: 0
|
|
|
Fortran to C
I am new to Fortran and C Language and need to convert the following line of code from fortran90 to C. Any help will be highly appreciated.
========================================
INQUIRE(File=filename, OPENED = op,EXIST = ex, ACCESS=ac, NUMBER= unit_no)
where
EXIST=lex ! true or false
OPENED=lod ! true or false
NAME=fnm ! filename
ACCESS=acc ! 'DIRECT' or 'SEQUENTIAL'
NUMBER=unum ! unit number
========================================
Thanks
Naseer
|