摘要
通过采用混合编程方法并利用接口数据,C应用程序能够直接调用已有FORTRAN子例程生成的样板图来实现参数绘图。文中着重论述了入口数据、文件和内存等三种参数传递方法的原理,给出了相应的程序流程。最后,分析了Windows环境下C应用程序调用FORTRAN子例程的几种方法。
By adopting mixed programming and utilizing data interface,C application program can be used to call divectly the prototype graphics created by FORTRAN subroutines to realize parametric graphic.The paper emphatically describes the transmission principles of entrance data,files and inner storages,and gives the corresponding program flow charts. At the end,the methods of C application program to call FORTRAN subroutines at Windows environment are analysed respectively.
基金
机械工业部科技基金
关键词
参数传递
参数绘图
程序设计
计算机制图
parameter transmission
parametric graphic
prototype graphic program
C language
FORTRAN language