2022年2月28日
摘要:
参考:https://blog.csdn.net/chenkai5182/article/details/100710545 dll模块中用static实现的单例类,在链接到另一个模块后,会生成两个实例。 因为实际上dll和需要链接dll的另一个模块上,调用单例类是调用的两个不同的函数(函数逻辑相同
阅读全文
posted @ 2022-02-28 17:19
林西索
阅读(371)
推荐(0)
2021年12月15日
摘要:
哈哈,再也不用记stoi stoll。。。这一堆函数了 #include <sstream> template <class SRC, class DST> void Str22Num(SRC& src, DST& dst) { std::stringstream in; in << src; st
阅读全文
posted @ 2021-12-15 16:50
林西索
阅读(50)
推荐(0)
2021年12月7日
摘要:
转自:https://www.cnblogs.com/lidabo/p/7324568.html 最近在研究ffmpeg的编译,之前使用的Ubuntu,需要安装虚拟机,非常麻烦,所以后来改研究在Windows平台编译。 一开始遇到很多挫折,参考了网上很多的帖子,但要么不全要么内容已过期,经过我的反复
阅读全文
posted @ 2021-12-07 10:55
林西索
阅读(680)
推荐(0)
2021年12月3日
摘要:
#include <functional> #pragma once class CScopeGuard //用于延迟执行构造函数传入的函数 { //public: // CScopeGuard(); // ~CScopeGuard(); public: explicit CScopeGuard(s
阅读全文
posted @ 2021-12-03 17:18
林西索
阅读(82)
推荐(0)
2021年10月19日
摘要:
TCP协议简介:https://blog.csdn.net/hzp666/article/details/73480514 数据包报文结构:https://www.jianshu.com/p/19e8e93665af UDP包:如果有分包,主包和从包的结构不同。例:如果使用以太网,主包会有UDP包头
阅读全文
posted @ 2021-10-19 09:45
林西索
阅读(260)
推荐(0)
2021年10月9日
摘要:
https://zh.cppreference.com/w/cpp/header
阅读全文
posted @ 2021-10-09 10:06
林西索
阅读(29)
推荐(1)
2021年9月16日
摘要:
Windows端: ssh-keygen -t rsa,一路回车,创建的公钥会保存到当前用户的目录的.ssh下面。 复制这个id_rsa.pub到Ubuntu主机上。 Ubuntu端: ssh-keygen -t rsa,一路回车,在当前用户根目录下会生成一个 .ssh文件夹。 把windows下的
阅读全文
posted @ 2021-09-16 14:17
林西索
阅读(252)
推荐(0)
2021年9月3日
摘要:
官网:https://download.qt.io/archive/qt/
阅读全文
posted @ 2021-09-03 09:00
林西索
阅读(48)
推荐(1)
2021年8月31日
摘要:
安装了一些软件包后,重启出现了:卡在登陆界面,对任何操作无响应的问题。 1.强制重启,可以在进入登陆界面前切换到其它终端ctrl+Alt+F6。说明系统没问题,是可视化桌面的问题。应该是前面安装软件包或者某些操作不规范导致。尝试进入recovery模式恢复。 2.Ubuntu开机默认不显示grub。
阅读全文
posted @ 2021-08-31 16:42
林西索
阅读(7187)
推荐(1)
2021年8月30日
摘要:
参考: https://blog.csdn.net/xiewenrui1996/article/details/90299542?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~d
阅读全文
posted @ 2021-08-30 15:45
林西索
阅读(63)
推荐(0)