C++面向对象程序设计中的二义性及其解决方法  

C++ Object-Oriented Programming in Ambiguity and its Solution

在线阅读下载全文

作  者:郭妍[1] 

机构地区:[1]南昌大学信工学院计算机系,江西南昌330027

出  处:《科技广场》2009年第5期136-138,共3页Science Mosaic

摘  要:C++语言是一种使用非常广泛的计算机编程语言,它支持过程化程序设计、数据抽象、面向对象程序设计、制作图标等多种程序设计风格。在C++面向对象的程序设计中,多继承使用频繁,然而使用多继承容易出现二义性问题。本文结合自己这几年的教学经验,通过分析教材和一些参考书中的二义性例题,总结出C++中容易出现二义性的情况及解决方法。C+ + language is a very extensive use of computer programming language, and it supports the process of programming, data abstraction, object-oriented programming, the production of generic icons, etc. a variety of procedures, such as programming style. In C + + Object-Oriented programming, the use of multi- pie inheritance, multiple inheritance is frequent, however prone to the ambiguous issues. In this paper, with the author's teaching experience over the past few years, through the analysis of reference materials and some ambiguity in the example, we summed up C + + in an easy situation of ambiguity.

关 键 词:C++语言 路径 虚基类 二义性 面向对象 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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