10 2017 档案

摘要:"社会保障(个人)卡规范" c++ //更多请阅读 《社会保障(个人)卡规范》 //cls in const unsigned char Coco_MF[2] = { 0x3f,0x00 };//MF 主文件 const unsigned char Coco_Response[2] = { 0x00 阅读全文
posted @ 2017-10-28 18:48 學海無涯 阅读(1697) 评论(0) 推荐(1)
摘要:使用 原子锁 代替 条件变量 // c++20 std::atomic<bool> condition{ false }; std::cout << "run" << std::endl; std::thread run([&cond = condition]() { std::cout << "s 阅读全文
posted @ 2017-10-25 00:21 學海無涯 阅读(9157) 评论(0) 推荐(0)
摘要:``` connect(camera, static_cast(&QCamera::lockStatusChanged), [=](QCamera::LockStatus status, QCamera::LockChangeReason reason){ /* ... */ }); static_cast(&QCamera::lockStatusChanged) 上面这句是一个静... 阅读全文
posted @ 2017-10-20 12:49 學海無涯 阅读(2177) 评论(0) 推荐(0)
摘要:1. https://www.penflip.com 2. https://www.gitbook.com 3. https://leanpub.com/ 4. https://www.softcover.io 5. http://markua.com/ 阅读全文
posted @ 2017-10-19 21:49 學海無涯 阅读(249) 评论(0) 推荐(0)
摘要:```c++ #include #include #include #include #include #include #pragma comment(lib,"Strmiids.lib") //#include //#include int main() { ICreateDevEnum *pDevEnum = NULL; IEnumMoniker *pEnum = N... 阅读全文
posted @ 2017-10-18 14:58 學海無涯 阅读(1168) 评论(0) 推荐(0)
摘要:C++ 如何获取三个相同数值中的最大值或最小值? c++ template T Max(T x, T y, T z) { return x y ? (x z ? x : z) : (y z ? y : z); } template T Min(T x, T y, T z) { return x 阅读全文
posted @ 2017-10-14 08:56 學海無涯 阅读(2362) 评论(0) 推荐(0)
摘要:struct RGB2HSV_f { typedef float channel_type; RGB2HSV_f(int _srccn, int _blueIdx, float _hrange) : srccn(_srccn), blueIdx(_blueIdx), hrange(_hrange) 阅读全文
posted @ 2017-10-12 23:53 學海無涯
摘要:`注意: define 必须在文档最前面` 阅读全文
posted @ 2017-10-12 14:39 學海無涯
摘要:chrome://version/ 输入以上语句,在命令行中可看到恶意网址,复制该命令行,修改后面的网址即可 阅读全文
posted @ 2017-10-11 23:59 學海無涯 阅读(394) 评论(0) 推荐(0)