如何将std:string转换为小写?我想转换一个std::string降到小写。我知道这个功能tolower(),但是,在过去,我对这个函数有过一些问题,而且它并不是一个理想的函数。std::string需要对每个字符进行迭代。是否有一种100%有效的替代方案?
3 回答
- 3 回答
- 0 关注
- 1497 浏览
添加回答
举报
0/150
提交
取消
举报