期刊文献+

利用通用组件重构C/C++程序

Reconfiguration of C/C++ Programs Through Generic Components
下载PDF
导出
摘要 在C语言中,一些数据结构的构建十分复杂,在某种程度上增加了程序员维护和复用源代码的难度。将这些数据结构转换为C/C++通用组件实例,可以提高源代码的可读性、可维护性和可变更性。在转换过程中,必须控制和消解不必要的依赖关系,降低源代码的维护成本。本文简述了利用标准库提供的通用组件实例替换数据结构的过程及相关问题,指明了通用组件在源代码重构和维护中的优势,并对该领域的未来进行了展望。 In the C language,the construction of some data structures is very complicated,which increases the difficulty for programmers to maintain and reuse source code to some extent.Converting these data structures into C/C++generic component instances can improve source code readability,maintainability,and changeability.During the conversion process,unnecessary dependencies must be controlled and eliminated to reduce the maintenance cost of the source code.This paper briefly describes the process of replacing data structures with common component instances provided by the standard library and related issues,points out the advantages of common components in source code reconstruction and maintenance,and looks forward to the future of the field.
作者 张帆 王嫣 ZHANG Fan;WANG Yan(College of Information Engineering, Zhengzhou Institute of Technology, Zhengzhou,Henan 450044,China;College of International Education,Zhengzhou Institute of Technology, Zhengzhou,Henan 450044,China)
出处 《中州大学学报》 2018年第6期120-123,共4页 Journal of Zhongzhou University
基金 郑州工程技术学院科技创新团队建设计划资助项目(CXTD2018K1)
关键词 数据结构 重构 通用组件 C/C++程序 data structures reconfiguration generic components C/C++ programs

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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