会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
JasonXu徐晓峰
需要WEB项目开发联系QQ858035836
博客园
首页
新随笔
联系
订阅
管理
2016年5月23日
c 语言 随机生成数函数
摘要: 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)
编辑
公告