C++ string 字符串函数详解

C++ string 字符串函数详解 原文地址:https://www.renfei.org/blog/introduction-to-cpp-string.htmlhtml 运算符重载 + 和 +=:链接字符串 =:字符串赋值 >、>=、< 和 <=:字符串比较(例如a < b, aa < ab) ==、!=:比较字符串 <<、>>:输出、输入字符串 注意:使用重载的运算符 + 时,必须保证前两
相关文章
相关标签/搜索