C Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesC Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old May 8th, 2008, 09:36 AM
m_naseer m_naseer is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2008
Posts: 24 m_naseer Negative: is most likely a SPAMMER and a traitor to the cause. 
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesC Programming > Fortran to C


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway