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

基于C++语言中的二义性辨析及其对策探讨
引用本文:李金忠,胡运全. 基于C++语言中的二义性辨析及其对策探讨[J]. 井冈山学院学报, 2007, 28(2): 49-51
作者姓名:李金忠  胡运全
作者单位:井冈山学院信息科学与传媒学院 江西吉安343009
摘    要:阐述了面向对象程序设计C 语言中可能产生二义性的若干情况,并通过程序实例,探讨其出现二义性的原因,提出其解决策略。

关 键 词:C 语言  二义性  重载  多继承  虚基类
文章编号:1673-4718(2007)02-0049-03
修稿时间:2006-11-27

Study of analysis and strategy based on ambiguity of C++ language
LI Jin-zhong,HU Yun-quan. Study of analysis and strategy based on ambiguity of C++ language[J]. Journal of Jinggangshan University, 2007, 28(2): 49-51
Authors:LI Jin-zhong  HU Yun-quan
Abstract:This paper expatiates on some cases of ambiguity which possibly produce in the object-oriented programming design C language,then probes into the reason of appear ambiguity and presents the resolve strategy through using program instances,that aims at bringing programmer's attention,it will take throw out a brick to attack a jade effect.
Keywords:C language  ambiguity  overload  multiple Inheritance  virtutal base class
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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