Possible Duplicate:
What is the difference between += and =+?
I know what saying x+=1; means
but what does
saying x=+1; mean?
There is no =+ operator. x=+1 simply means assign +1 (positive 1) to x.
It assigns a value of +1 to variable x.
x += 1 can also be written as x = x + 1
加载中,请稍侯......
精彩评论