摘要: ZC:#include <sstream> ZC:貌似还有 istringstream 和 ostringstream ... https://www.cnblogs.com/gaobw/p/7070622.html 1、int型与string型的互相转换 最佳实践: int型转string型 vo 阅读全文
posted @ 2018-05-24 16:36 CppSkill 阅读(2829) 评论(0) 推荐(1)
摘要: 1、转成 小写/大写 #include <algorithm>using namespace std; // 转成小写transform(_strAttrNameG.begin(), _strAttrNameG.end(), _strAttrNameG.begin(), tolower);// to 阅读全文
posted @ 2018-05-24 16:14 CppSkill 阅读(158) 评论(0) 推荐(0)