精彩即将呈现,请稍候...
#include<iostream> #include<regex>//正则表达式 #include<fstream> #include <windows.h> using namespace std; #include<vector> ...
正则程序库(regex) 「正则表达式」就是一套表示规则的式子,专门用来处理各种复杂的操作。 std::regex是C++用来表示「正则表达式」(regular expression)的库,于C++11加入,它是class std::basic_regex<>针对char类型的一个特...
01 动态数组 01 动态数组.cpp #define _CRT_SECURE_NO_WARNING #include<stdio.h> #include<stdlib.h> #include<string.h> #include"dynamicarr.h"...
01 常用的集合算法_set_intersection #include<iostream> using namespace std; #include<vector> #include<algorithm> void print(int val) { c...
01 常用的算术生成算法_accumulate 02 常用的算术生成算法_fill 01 常用的算术生成算法_accumulate #include<iostream> using namespace std; #include<vector> #include&l...
01 常用拷贝和替换算法_copy 02 常用拷贝和替换算法_replace 03 常用拷贝和替换算法_replace_if 04 常用拷贝和替换算法_swap 01 常用拷贝和替换算法_copy #include<iostream> using namespace std...
01 常用的排序算法_sort 02 常用排序算法_random_shuffle 03 常用排序算法_merge 04 常用排序算法_reverse 01 常用的排序算法_sort #include<iostream> using namespace std; #inclu...
01 常用查找算法_find 03 常用查找算法_adjacent_find 04 常用查找算法 binary_search 05 常用的查找算法_count 06 常用的查找算法_count_if 01 常用查找算法_find #include<iostream> us...
01 常用遍历算法for_each 02 常用的遍历算法transform 01 常用遍历算法for_each #include<iostream> using namespace std; #include<vector> #include<algorith...
01 函数对象的基本使用 02 谓词_一元谓词 03 谓词_二元谓词 04 内建函数对象_算术仿函数 05 内建函数对象_关系仿函数 01 函数对象的基本使用 #include<iostream> using namespace std; //函数对象―(仿函数) /*...