检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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.
分 类 号:TN710-34[电子电信—电路与系统]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.249