摘要: 字符串转数字 1、系统函数 strtof strtod strtold转为浮点数,参数类型是char * strtol 转为整数,自动判断字符串进制类型,参数char * stoi stof stol 参数类型string,整数可以指定进制 atoi atol atoll c语言函数,只能转10进制 阅读全文
posted @ 2023-03-12 15:39 xzsxzxs 阅读(187) 评论(0) 推荐(0) 编辑