C语言程序调用Fortran语言程序的方法与实例  

Approaches and Examples for Calling Program Compiled by Fortran Language in Code by C Language

在线阅读下载全文

作  者:才漪[1] CAI Yi (College of Art, Nanfing University of Aeronautics and Astronautics, Nanjing 210016, China)

机构地区:[1]南京航空航天大学艺术学院,江苏南京210016

出  处:《电脑知识与技术》2010年第11期8769-8772,共4页Computer Knowledge and Technology

摘  要:深入研究了Windows操作系统和Linux操作系统下在C语言程序中调用Fortran语言所编写的源程序的方法和技术。重点研究了调用过程中参数的传递方式和不同操作系统下C语言与Fortran语言混合编程的实现方法。文中以实例的方式给出了完整的可以执行的C语言程序调用Fortran语言程序的源程序。该程序清晰明了,易于移植.Approaches and skills for calling program compiled by Fortran language in program compiled by C language are studied in detail. Both of the operation systems Windows and Linux are considered in this paper. The means of passing arguments between different languages and the implementation of C and Fortran mixed language programming in different operation system are mainly investigated. Finally, straightforward and reusable source files are presented, to illustrate these skills.

关 键 词:C语言 FORTRAN语言 混合语言编程 Windows LINUX 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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