Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
NSUInteger wordInt = sentence.length;
このように1を追加したい->wordInt = wordInt + 1 ;
wordInt = wordInt + 1 ;
しかし、それは機能しません。知らない....
お願いします!!
それはうまくいくはずです。だからすべきwordInt++です。NSUInteger(typedef'd)プリミティブ型です。
wordInt++
NSUInteger
コンテキストを確認できるように、さらにコードを投稿してください。