摘要: int theRandom = 0; theRandom = arc4random_uniform(3)//随机生成一个从0到2的数 或者 #include "stdio.h" #include "stdlib.h" #include "time.h" int main(){ srand((unsi 阅读全文
posted @ 2016-05-23 15:48 JasonXu_徐晓峰的博客 阅读(262) 评论(0) 推荐(0) 编辑