检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:郑晖[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[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.229