文件名按照自定义类型大小排序
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
int main() {
std::vector<std::string> a = {"11", "12", "13", "21", "22", "111", "109", "136",
"255"};
std::sort(a.begin(), a.end(..
原创
2021-03-12 14:11:46 ·
10266 阅读 ·
0 评论