检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]山东建筑工程学院计算机科学与技术系,山东济南250014
出 处:《山东建筑工程学院学报》2004年第2期55-57,共3页Journal of Shandong Institute of Architecture and Engineering
摘 要:在模块化程序设计过程中,当将问题分割成模块后,就要建立各模块间的相互作用方式及通信方式,该技术称为模块接口技术。软件工程的一个最基本的原则是将接口和实现分开,头文件是一项接口技术,实现的代码部分就是源程序文件。头文件要提供一组导出的类型、常量、变量和函数定义。模块要导入对象时,必须包含导出这些对象的模块的头文件。设计接口的一般原则是:保持接口的稳定、内部对象私有化、巧妙使用全局变量、避免重复包含。In modeling programming, the interactive way and communication way should be built when the program is divided into several parts. This technology is called module interface technology. A basic principle of software engineering is to design interface part and realizing part independently. Head file is a technology of interface, while source program file is the code part realizing the program function. Head file provide a set of educed types, constants, variables and function defination. The module must include the head files exporting the objects when the module imports objects. The general rule to design interface is keeping the stability of the interface, holding private inside objects, using the global variables skillfully, and avoiding repeatedly inclusion.
分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15