摘要: int i =200; if( i%100 == 0){ NSLog(@"是100的整数"); }else{ NSLog(@"不是100的整数"); } int inputMoney =[importTextField.text intValue]; if (inputMoney%100 != 0) 阅读全文
posted @ 2016-10-27 15:40 iOS张文权 阅读(1803) 评论(0) 推荐(0) 编辑
摘要: 看到打印结果之后 为什么只打印了一部分???为什么呢??? 我也不知道为什么,可能是xcode8的原因。 借鉴了下国外人说了,printf可以打印全,自己写了个输出宏 #ifdef DEBUG #define NSLog(FORMAT, ...) fprintf(stderr, "%s:%zd\t% 阅读全文
posted @ 2016-10-27 15:10 iOS张文权 阅读(4049) 评论(2) 推荐(0) 编辑