检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]南京大学计算机科学与技术系
出 处:《计算机研究与发展》1995年第7期43-47,共5页Journal of Computer Research and Development
摘 要:异种语言编写的程序相互调用,是程序设计者为利用已有软件资源而经常涉及的实用技巧。本文基于C应用程序调用VAX/RGL图形库绘图的实践,探讨VAX/VMS环境中C语言与FORTRAN语言的接口方法,其关键在于弥补两者采用的VAX过程调用参数传递机构上的差异。然后介绍笔者利用该方法为RGL实现的一个C程序接口软件。Routine calling between codes written in different languages is a useful skill, which allows programmer make better use of existing software resources.This paper investigates an interfacing method between C and Fortran in VAX/VMS environment. The disscussion is based on the author's experience on calling VAX/RGL from the C applications. The key is to flat the gap between the VAX routine parameter passing mechanism in these two languages. Also introduced is a C interface software for RGL, which is implemented by the author according to this method.
关 键 词:图形库 C语言 接口 FORTRAN语言 程序语言
分 类 号:TP312[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.249