期刊文献+

FORTRAN CAD软件的C语言移植

FORTRAN CAD Software Transplanting to C Version
下载PDF
导出
摘要 FORTRAN 语言是使用最早的高级语言,而 C 语言则具有表达能力强、表达方式简练而灵活,生成的目标代码时—空效率高、可移植性好等优点。本文在对 FORTRAN 语言和 C 语言数据类型、参数传递等若干方面进行比较的基础上,讨论了把 FORTRAN CAD 软件移植成 C 语言的过程中出现的若干问题。这些问题包括变量说明、参数传递、对绘图支撑软件的处理、编译和连接等。作者采用由顶向下的方法逐个模块地把 FORTRAN CAD 软件移植成C语言。采用这种方法在移植过程中可以验证移植的正确性。本文所讨论的问题对于 FORTRAN 语言软件移植成 C 语言具有普遍性,所给出的 FORTRAN语言与 C 语言互调技术具有一定实用价值。 FORTRAN programming language is the first high level language that We have used,and C programming language has the advantage of clear,nimble and simple expression,which produces executable program with high time-space efficiency,and which has good compatibility.In this paper,on the basis of the comparison between FORTRAN and C in data type,parameter passing ere, some problems,such as variable declaration,parameter passing,treatment of graphic support software,compile,link and so on,appearing in transplanting FORTRAN CAD software to C version are discussed.By the way from top to bottom,authors of this paper transplanted FORTRAN CAD software to C version module by module.In this way,we can verify the correctness of the modules that we have transplanted.The problems that have been solved in this paper are general in transplanting FORTRAN soft,rare to C version.The invoking techni- que between C and FORTRAN given in this paper has important ractieal va- lue.
出处 《哈尔滨科学技术大学学报》 1990年第2期168-174,共7页
关键词 CAD C语言 移植 可移植性 调用 CAD compatibility VAX/VMS operating system invoking technique
  • 相关文献

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部