- 博客(3)
- 资源 (14)
- 收藏
- 关注
原创 unordered_map hash函数2种写法
```cpp//#include "stdafx.h"#include <iostream>#include <cstdio>#include <typeinfo>#include <unordered_map>#include <iterator>#include <functional>#include ...
2019-11-24 10:39:42 675
原创 C++ 11 生产者消费者模式
单生产者单消费者模式,假设生产者每次产量等于与消费者每次消耗量C++ 11 使用unique_lock 和 condition_variable 实现//#include "stdafx.h"#include <iostream>#include <string>#include <vector>#include <list>#incl...
2019-10-20 18:14:18 561
原创 冒泡排序法及其优化
冒泡排序法及其优化, C/C++ 版. 如有错误,欢迎指正。注:本人非计算机专业,纯属业余,欢迎拍砖。呵呵。直接上代码:#include #include #include #include using std::cout;using std::endl;//冒泡排序法std::pair<int, int> bubbleSort(int[], const int);...
2019-07-01 14:16:27 128
opencv4.3.0_mingw_32 for windows10
2020-07-03
C++ library reference(include C++11)
2018-10-14
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人