c++关于字符串的一些函数 2017-04-13 本文已影响12人 阁中悟剑 一、字符串反转函数 包含在algorithm包中 #include<algorithm> reverse()在原字符串的基础之上进行修改,不可代入表达式;