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

Reconfiguration of C/C++ Programs Through Generic Components

在线阅读下载全文

作  者:张帆 王嫣 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)

机构地区:[1]郑州工程技术学院信息工程学院,河南郑州450044 [2]郑州工程技术学院国际教育学院,河南郑州450044

出  处:《中州大学学报》2018年第6期120-123,共4页Journal of Zhongzhou University

基  金:郑州工程技术学院科技创新团队建设计划资助项目(CXTD2018K1)

摘  要:在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.

关 键 词:数据结构 重构 通用组件 C/C++程序 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象