yang131

导航

上一页 1 ··· 9 10 11 12 13 14 下一页

2020年10月22日 #

c++

摘要: c++ 11std::ref 引用 头文件#include <functional>std::cref const引用std::move right refstd::decay 类型转换std::bindstd::bind1ststd::make_sharedstd::tuple 多个值的pair集 阅读全文

posted @ 2020-10-22 13:10 NoNight 阅读(99) 评论(0) 推荐(0)

2020年9月10日 #

windows中新建文件菜单消失的解决办法

摘要: 具体解决办法: https://jingyan.baidu.com/article/cbcede07577f4702f40b4dfd.html 右键中新建文本文件 菜单消失: 注册表编辑器: 路径: 计算机\HKEY_CLASSES_ROOT\.txt\ 新建字符串 REG_SZ 数据txtfile 阅读全文

posted @ 2020-09-10 14:05 NoNight 阅读(369) 评论(0) 推荐(0)

2020年8月31日 #

彻底弄懂HTTP缓存机制及原理

摘要: 前言 Http 缓存机制作为 web 性能优化的重要手段,对于从事 Web 开发的同学们来说,应该是知识体系库中的一个基础环节,同时对于有志成为前端架构师的同学来说是必备的知识技能。但是对于很多前端同学来说,仅仅只是知道浏览器会对请求的静态文件进行缓存,但是为什么被缓存,缓存是怎样生效的,却并不是很 阅读全文

posted @ 2020-08-31 22:39 NoNight 阅读(350) 评论(0) 推荐(0)

2020年8月27日 #

c++17 auto非类型模板参数

摘要: //用auto非类型模板参数 #include <iostream> using namespace std; template<auto c> auto foot() { cout << c << endl; return c; } int main4() { foot<312>(); int m 阅读全文

posted @ 2020-08-27 11:12 NoNight 阅读(570) 评论(0) 推荐(0)

c++17 using继承所有构造函数

摘要: //使用using继承所有的构造函数 #include "tmp.h" #include <iostream> using namespace std; struct P1 { P1() { cout << "p1" << endl; }; //error //P1(int m) = default 阅读全文

posted @ 2020-08-27 11:07 NoNight 阅读(668) 评论(0) 推荐(0)

c++17 structure binding test

摘要: 1 /*test for struct binding*/ 2 3 #include <string> 4 #include <iostream> 5 using namespace std; 6 //命名空间 可以缩写为A::B 7 namespace NA::NB 8 { 9 class Dat 阅读全文

posted @ 2020-08-27 11:05 NoNight 阅读(301) 评论(0) 推荐(0)

2020年7月28日 #

DuiLib的编译

摘要: Duilib编译需要注意两点: 加入预处理器:WIN32;_DEBUG;_WINDOWS;UILIB_STATIC; 到这一步还是报错,报错的是DuiString += 这一行报错,还有Util这一块。 1.DuiLib的符合模式是:否 阅读全文

posted @ 2020-07-28 18:29 NoNight 阅读(186) 评论(0) 推荐(0)

2020年7月18日 #

ffmpeg精简

摘要: https://blog.csdn.net/liulinyu1234/article/details/78670639 阅读全文

posted @ 2020-07-18 23:52 NoNight 阅读(486) 评论(0) 推荐(0)

nodejs的服务器,用ffmpeg推流

摘要: http://m.zhizuobiao.com/node/node-19061200018/ ffmpeg -list_devices true -f dshow -i dummyffmpeg -f dshow -i video="screen-capture-recorder" -f dshow 阅读全文

posted @ 2020-07-18 19:33 NoNight 阅读(1277) 评论(0) 推荐(0)

2020年7月8日 #

CRC 循环冗余效验

摘要: CRC循环冗余效验 利用多项式 x6 + x4 + x3,实际为使用模2除法来做的加密 常用crc多项式有 名称 生成多项式 数值式 简记式 标准引用 CRC-4 x4+x+1 0x1’3 0x3 ITU G.704 CRC-8 x8+x5+x4+1 0x1’31 0x31 CRC-8 x8+x2+ 阅读全文

posted @ 2020-07-08 17:11 NoNight 阅读(269) 评论(2) 推荐(0)

上一页 1 ··· 9 10 11 12 13 14 下一页