如何增加NSUInteger变量?

时间:2010-03-11 21:40:27

标签: iphone nsuinteger

NSUInteger wordInt = sentence.length;

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

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

请!!

1 个答案:

答案 0 :(得分:6)

那应该有用。应wordInt++NSUInteger是(typedef'd)基元类型。

请发布更多代码,以便我们查看背景信息。

相关问题