摘要: 1 arc4random() % x // 0 到x-1 之间的随机数2 3 //那么得到1到x之间的随机数 就是4 5 arc4random() % x + 1 阅读全文
posted @ 2014-05-21 16:20 sokeyer 阅读(152) 评论(0) 推荐(0) 编辑