Fortran与C/C++的混合编译  被引量:14

Mixed-language compiling between Fortran and C/C++

在线阅读下载全文

作  者:任慧[1] 周振红[1] 张成才[1] 

机构地区:[1]郑州大学,河南郑州450002

出  处:《计算机工程与设计》2007年第17期4096-4098,4111,共4页Computer Engineering and Design

基  金:水利部黄河泥沙重点实验室开放基金项目(2007005)

摘  要:在长期的数值计算中人们积累了大量宝贵的程序资源——Fortran、C/C++源程序,为了能综合利用这些资源,Win32环境下多采取基于动态链接库DLL的混合编程方法,增加了额外建造、加载DLL的负担。提出一种Fortran与C/C++混合编程的便捷途径:在特定集成开发环境下的混合编译,系统探讨Fortran与C/C++在调用约定上的协调问题,并用典型实例加以说明。In order to make full use of the existed programs in numerical computation, developed by using both Fortran and C/C++, a mixed-programming method based on DLL is generally adopted, having to build and load DLL. A handy and shortcut means ofmixed- programming is presented, namely mixed-language compiling in a particular lDE. It is systematically discussed how to coordinate calling conventions between Fortran and C/C++, a practical example is presented.

关 键 词:数值计算 动态链接库 混合编程 调用约定 混合编译 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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