C++ vector的字符串排序
C++ vector的排序#include<algrothm>#include<vector>using namespace std;int main(){ vector<string> myVector = {"av","dewfwe","fwdvda","ffggtrgerf"}; //递增 std::sort(myVector.