C++语言的软件复用机制  

Software reuse mechanism of C++ language

在线阅读下载全文

作  者:赵娟[1] 王楠[1] 

机构地区:[1]西安工业大学北方信息工程学院,陕西西安710025

出  处:《现代电子技术》2012年第15期116-118,共3页Modern Electronics Technique

基  金:西安工业大学北方信息工程学院教学改革研究项目(J1114)

摘  要:软件复用是程序开发过程中最重要的技术之一,通过软件复用可以达到事半功倍的效果。以面向对象语言C++为例,针对C++语言的继承和多态的特性,分别介绍了基于类库的软件复用、基于继承的软件复用、基于多态的软件复用和基于模版的软件复用四种软件复用机制。从不同的角度用图和程序两种方法说明了每种复用机制的适用情况,结合教学实践,并用实例加以验证。Software reuse is one of the most important technologies in the program development, which makes engineers get twice the result with half the effort. Taking the object-oriented language C-F + as an example, the paper introduces four kinds of software reuse mechanism based on inheritance and polymorphic characteristics of C-+--F language, which are class li- brary-based software reuse, inheritance-based software reuse, polymorphic-based software reuse, and template-based software reuse. In the paper, diagrams and programs are adopted to explain the applications of each software reuse mechanism from different angles, which are verified with different examples in the teaching practice.

关 键 词:软件复用 程序开发 C++ 教学实践 

分 类 号:TN710-34[电子电信—电路与系统]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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