摘要:
from http://www.learncpp.com/cpp-tutorial/33-incrementdecrement-operators-and-side-effects/一个变量自增1与自减1是如此的平常,以至于在C中它们有了自己的操作符。每一个操作符都有两个版本——前缀与后缀。OperatorSymbolFormOperationPrefix increment++++xIncrement x, then evaluate xPrefix decrement––––xDecrement x, then evaluate xPostfix increment++x++Evaluat 阅读全文
posted @ 2012-05-12 09:08
grassofsky
阅读(273)
评论(0)
推荐(0)
浙公网安备 33010602011771号