会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
牛man
博客园
首页
新随笔
联系
管理
订阅
2023年8月2日
字符串转化为整数的C库函数
摘要: #include<stdio.h> #include<stdlib.h> int main(void) { char str[10] = "12345"; char str1[10] = "hello"; int val; val = atoi(str); printf("val = %d, str
阅读全文
posted @ 2023-08-02 20:03 牛man
阅读(32)
评论(0)
推荐(0)
编辑