开发者

How to convert RECORD in Fortran to C language?

开发者 https://www.devze.com 2023-03-11 04:51 出处:网络
Does anybody know how to convert RECORD in开发者_如何学Python Fortran to C language? for example in Fortran:

Does anybody know how to convert RECORD in开发者_如何学Python Fortran to C language?

for example in Fortran:

RECORD /ABC/ MY_RECORD

Thanks,


A FORTRAN structure is pretty much like a C structure, right?

struct ABC MY_RECORD;

Should be fine, assuming you've converted the STRUCTURE /ABC/ definition already.

0

精彩评论

暂无评论...
验证码 换一张
取 消