BBS水木清华站∶精华区
发信人: znix (none), 信区: Linux
标 题: Re: Linux 环境下怎样实现Fortran和C的联合调用?(NULL
发信站: BBS 水木清华站 (Tue Apr 28 11:52:58 1998)
【 在 fengxiao (上帝) 的大作中提到: 】
example:
1, C call Fortran
/* a c program */
void thiscfun_( ... )
....
c in Fortran
...
call thiscfun(...)
...
2. fortran call c
c in fortran
subroutine f77fun(...)
...
/* in c */
f77fun_(...)
...
--
※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 159.226.41.50]
BBS水木清华站∶精华区