rajiv@heron.cis.ohio-state.edu (Rajiv Agrawal) (07/28/88)
Can anybody tell me if there is a way of interfacing C to FORTRAN on the IBM PC/AT? I want to call some low-level C functions from a FORTRAN program. I am using Professional Fortran v 1.21 and Turbo C 1.5. Should I switch to Microsoft FORTRAN and C since they support mixed-languages ? DOes Microsoft FORTRAN 4.1 implement the full FORTRAN 77 standard? Any help will be appreciated? Thanks in advance. Rajiv -=- ------------------------------------------------------------------------------ 206 W 18th Ave INTERNET: rajiv@orange.cis.ohio-state.edu Columbus, OH 43210 agrawal-r@eng.ohio-state.edu (614) 292-9029 BITNET: ts5600@ohstvma CCnet: 6177::agrawal
mcdonald@uxe.cso.uiuc.edu (08/01/88)
> Should I switch to Microsoft FORTRAN and C since they support >mixed-languages ? DOes Microsoft FORTRAN 4.1 implement the full >FORTRAN 77 standard? Yes. Yes. Its that simple!
wew@naucse.UUCP (Bill Wilson) (08/01/88)
Turbo C works just fine with Microsoft Fortran. I have used a number of different memory modules and near/far pointers. You need to make sure you use the correct calling sequences. C and Fortran/Pascal calling sequences are different. The Turbo C manual (ver 1.5) has a good section on it. -- Bill Wilson (Bitnet: ucc2wew@nauvm) Northern AZ Univ Flagstaff, AZ 86011 {These views are mine and do not necessarily reflect those of my employer}