基于txt文件快速实现C#与Fortran混合编程  被引量:8

Express Implementation Mixed Programming Between C# and Fortran Using Txt File

在线阅读下载全文

作  者:郑晖[1,2] 

机构地区:[1]中国科学院测量与地球物理研究所动力大地测量学重点实验室,武汉430077 [2]中国科学院研究生院,北京100049

出  处:《计算机与数字工程》2010年第10期146-149,共4页Computer & Digital Engineering

基  金:中国科学院知识创新工程重要方向项目(编号:kzcx2-yw-125)资助

摘  要:将Fortran控制台应用程序制作成Fortran动态链接库文件,使用C#语言开发软件界面并调用Fortran DLL实现混合编程。给出了C#语言和Fortran语言混合编程时需要注意的要点。结合示例介绍了一种利用txt文件快速实现C#和Fortran混合编程的方法。该方法只需要对Fortran源代码做较小的修改就能有效地实现两种语言的混合编程,此方法对其他不同语言之间的混合编程提供了一种参考思路。Transform Fortran console application into Fortran dynamic-link library file,Mixed-Language Programming can be implemented by using C # develop user interface and call the Fortran DLL.Main points of mixed language programming between C # and Fortran are discussed and presented.An express implementation method is introduced by using txt file and an example is constructed to demonstrate the mixed programming.This method achieve the goal of mixture programming effectively by making small changes to the Fortran source code,as well as providing a reference method to other Mixed-Language Programming.

关 键 词:混合编程 DLL C# FORTRAN TXT DllImport 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象