会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
靖意风
CnBlogs
Home
New Post
Contact
Admin
Subscription
stdlib.h
函数名称
说明
int atoi(const char *str)
将字符串转化成整型,如果无效,就返回0
int rand(void)
返回一个范围在 0 到 RAND_MAX 之间的伪随机数。
void srand(unsigned int seed)
该函数设置seed数值,对应 rand 使用的随机数发生器。
posted @
2025-02-18 11:57
靖意风
Views(
10
) Comments(
0
)
收藏
举报
刷新页面
返回顶部
公告