string类型如何使用sort()函数

利用sort(s.begin(),s.end()); 

不能用sort(s,s+lengrh());

posted @ 2020-03-09 18:28  John-C  阅读(1141)  评论(0编辑  收藏  举报