摘要: 函数atof,atoi,atol,strtod,strtol,strtoul atof(将字串转换成浮点型数) 相关函数 atoi,atol,strtod,strtol,strtoul表头文件 #include <stdlib.h>定义函数 double atof(const char *nptr) 阅读全文
posted @ 2017-12-14 22:49 windy_net 阅读(804) 评论(0) 推荐(0)
摘要: 相关函数: atof, atoi, atol, strtod, strtoul表头文件: #include <stdlib.h>定义函数: long int strtol(const char *nptr, char **endptr, int base)函数说明: strtol()会将参数nptr 阅读全文
posted @ 2017-12-14 22:47 windy_net 阅读(529) 评论(0) 推荐(0)
摘要: std::string转为 std::wstring std::wstring转为 std::string 阅读全文
posted @ 2017-12-14 09:38 windy_net 阅读(445) 评论(0) 推荐(0)