期刊文献+

C++中二义性问题探讨

Discussion on the Ambiguity of C++ Language
下载PDF
导出
摘要 C++中的二义性问题是经常困扰程序员的一个问题,结合多年来的教学体会,针对面向对象程序设计语言C++中的二义性问题进行探讨,分别从函数重载、多基派生、含有公共基类多继承三个方面,通过具体的程序实例,分析可能出现二义性的原因以及相应的解决方法。 Programmers are often troubled by the ambiguity problem of C++ language.Based on many years' teaching experience,discusses the ambiguity of the object-oriented programming language C++ from three aspects,function overloading,multiple base derived,common base class with multiple inheritance.Analyses the reasons for ambiguity occurs and the corresponding solutions through specific instances.
出处 《现代计算机》 2011年第7期21-24,共4页 Modern Computer
关键词 C++ 二义性 函数重载 多基派生 虚基类 C++ Ambiguity Function Overloading Multi-Base Derived Virtual Base Class
  • 相关文献

参考文献3

  • 1吕凤翥.C++语言基础教程[M].北京:清华大学出版社,2004.
  • 2[美] 斯特朗斯特鲁普.C++程序设计语言[M].裘宗燕,译.北京:机械工业出版社,2010:235-478.
  • 3[美]埃克尔等.C++编程思想[M].刁成嘉等.北京:机械工业出版社.2006.

共引文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部