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

C++中自增、自减运算二义性分析
引用本文:张志强.C++中自增、自减运算二义性分析[J].山西广播电视大学学报,2008,13(1):43-44.
作者姓名:张志强
作者单位:太原师范学院计算机系,山西,太原,030012
摘    要:C++中自增、自减运算符应用广泛,但使用起来具有一定的复杂性与风险性,易引发二义性问题。通过实例进行归类分析,揭示自增、自减运算符副作用对二义性的影响,给出解决方法,以保证对其使用的安全性。

关 键 词:二义性  自增  自减
文章编号:1008-8350(2008)01-0043-02
修稿时间:2007年9月18日

Ambiguity of Auto - increasing and Auto - decreasing Operators in C + + Programming
Zhang Zhiqiang.Ambiguity of Auto - increasing and Auto - decreasing Operators in C + + Programming[J].Journal of Shanxi Radio & Tv University,2008,13(1):43-44.
Authors:Zhang Zhiqiang
Institution:Zhang Zhiqiang ( Computer Department, Taiyuan Normal University, Taiyuan, Shanxi, 030012)
Abstract:Auto-increasing and auto-decreasing operators are widely used,but they are also very complex and risky.Improper use of these operators may bring about ambiguity.This paper explores the possible causes that lead to side effects in the use of these operations and provides some solutions to ensure the security of their use.
Keywords:ambiguity  auto-increasing  auto-decreasing  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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