C++ string 字符串函數詳解

C++ string 字符串函數詳解 原文地址:https://www.renfei.org/blog/introduction-to-cpp-string.htmlhtml 運算符重載 + 和 +=:鏈接字符串 =:字符串賦值 >、>=、< 和 <=:字符串比較(例如a < b, aa < ab) ==、!=:比較字符串 <<、>>:輸出、輸入字符串 注意:使用重載的運算符 + 時,必須保證前兩
相關文章
相關標籤/搜索