将'C'代码转换为'Fortran' [英] convert 'C' code to 'Fortran'

查看:155
本文介绍了将'C'代码转换为'Fortran'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



任何人都可以帮我找到一个可以自动将C代码转换为Fortran77 / 90的软件吗? br />

提前致谢。


Sam。

解决方案

sam写道:


任何人都可以帮我找到一个可以将C中的代码转换为Fortran77 / 90的软件'自动?

提前致谢。

Sam。




哇, - 祝你好运:)) />


sam写道:


任何人都可以帮我找到一个可以在'C中转换代码的软件''
到''Fortran77 / 90''自动?




这不是真正的主题。

但是,有一个稍微更多的主题版本:为什么修复一些东西

没有坏掉?

C模块可以与fortran mod通信ules。

现在的问题是如何将两者结合在一起。

Google formix fortran and C。它基本上归结为

提供接口,创建正确的标题和智能

makefile。


干杯

Michael

-

电子邮件:我的是/ at / gmx / dot / de地址。

>任何人都可以帮我找到一个可以自动将''C''

中的代码转换为''Fortran77 / 90'的软件吗?




祝你好运。你需要它。像指针这样的C概念不会很好地转化为FORTRAN。


Gordon L. Burditt


Hi,
Can anyone help me find a software that can convert a code in ''C''
to ''Fortran77/90'' automatically?

Thanks in advance.

Sam.

解决方案

sam wrote:

Hi,
Can anyone help me find a software that can convert a code in ''C''
to ''Fortran77/90'' automatically?

Thanks in advance.

Sam.



Wow, - good luck :)


sam wrote:

Hi,
Can anyone help me find a software that can convert a code in ''C''
to ''Fortran77/90'' automatically?



This is not really on-topic.
However, there is a slightly more topical version: Why fix something
that is not broken?
C modules can communicate with fortran modules.
Now the problem is just how to fit the two together.
Google for "mix fortran and C". It basically comes down to
providing interfaces, creating the right headers and intelligent
makefiles.

Cheers
Michael
--
E-Mail: Mine is an /at/ gmx /dot/ de address.


> Can anyone help me find a software that can convert a code in ''C''

to ''Fortran77/90'' automatically?



Good luck. You''ll need it. C concepts like pointers don''t
translate very well into FORTRAN.

Gordon L. Burditt


这篇关于将'C'代码转换为'Fortran'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆