瀏覽單個文章
27681049
Advance Member
 

加入日期: Jul 2012
您的住址: 新竹
文章: 409
xcode 6.1.1
...
int i;

i = 1;
i =+ 1;
...

i 的值還是為 1
但是xcode給警告
Use of unary operator that may be intended as compound assignment (+=)
舊 2015-01-07, 04:42 PM #8
回應時引用此文章
27681049離線中