会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
moon_touch
博客园
首页
新随笔
联系
订阅
管理
2021年6月1日
c++常用类型转换(字符串、整型)
摘要: C++类型转换 ##string,int、long 从string到int: string s int n= atoi(s); 从string到long: long n= atol(s) 从int、long到string: c++11加入的std::to_string(n)返回一个字符串 对于各种数
阅读全文
posted @ 2021-06-01 18:07 moon_touch
阅读(476)
评论(0)
推荐(0)