c++ C++中string::npos的一些用法总结 2024 年 6 月 27 日 / 一、关于npos的定义 在MSDN中有如下说明: basic_string::nposstatic const size_type npos = -1;//定义The&n… 阅读更多