0
所以我需要用變量除以數字。 我該怎麼做? 我知道DIV和MOD的C函數,但不知道如何在Objective-C/cocoa-touch中使用它們。這是我的代碼的一個例子。Objective-C中劃分變量
// hide the previous view
scrollView.hidden = YES;
//add the new view
scrollViewTwo.hidden = NO;
NSUInteger across;
int i;
NSUInteger *arrayCount;
// I need to take arrayCount divided by three and get the remainder
當我嘗試使用/或%我得到的錯誤 「無效操作數爲二進制表達式('NSUInteger和INT) 感謝您的幫助
Xcod e是一種IDE而不是語言。 – Nick