1
NSUInteger wordInt = sentence.length;

我想像这样添加 1 ->wordInt = wordInt + 1 ;

但它不起作用。我不知道....

请!!

4

1 回答 1

6

那应该行得通。应该如此wordInt++NSUInteger是(typedef'd)原始类型。

请发布更多代码,以便我们查看上下文。

于 2010-03-11T21:46:54.340 回答