首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于代码重用C++类的设计与使用
引用本文:安历辛,王海涛.基于代码重用C++类的设计与使用[J].辽宁工程技术大学学报(自然科学版),1998(6).
作者姓名:安历辛  王海涛
作者单位:辽宁工程技术大学!工商管理学院(安历辛),阜新鑫科计算机技术公司(王海涛)
摘    要:介绍了采用模板和继承方法设计可重用C++类的方法,探讨了采用继承和模板的区别.介绍了重用C++类时的方法和应注意的问题.

关 键 词:重用  模板  继承

Designing and Applying C++ Class in Support of Code Reuse
An lixin Wang Haitao.Designing and Applying C++ Class in Support of Code Reuse[J].Journal of Liaoning Technical University (Natural Science Edition),1998(6).
Authors:An lixin Wang Haitao
Abstract:This paper introduces the methods to design reused C++ classes with template class and inheritance class, and it discusses the differences between template and inheritance applying methods. At last, it introduces reusing methods of C++ class and problems which should be paid attention to.
Keywords:reuse  template  inheritance  
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号