Loading

上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
摘要: 又有了新思路,复用线程 ThreadPool.hpp #pragma once #include <thread> #include <memory> #include <functional> #include <utility> #include <condition_variable> #in 阅读全文
posted @ 2022-02-21 23:06 WindSnowLi 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 源地址 #include <algorithm> #include <iostream> #include <ostream> #include <bsoncxx/json.hpp> #include <bsoncxx/stdx/make_unique.hpp> #include <mongocxx 阅读全文
posted @ 2022-02-19 12:52 WindSnowLi 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 原文 FFMPEG:https://ffmpeg.org/ 可执行bat @echo off SETLOCAL ENABLEDELAYEDEXPANSION set path=.\m4a set rs=.\mp3 for /F %%i in ('Dir /B %path%') do ( set na 阅读全文
posted @ 2022-02-11 21:09 WindSnowLi 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 链接 SetCommState的struct _DCB类型参数,其值 StopBits= 0,1,2对应的是1bit,1.5bits,2bits ByteSize = 6, 7, 8时StopBits不能为1 ByteSize = 5时StopBits不能为2 阅读全文
posted @ 2022-01-10 11:53 WindSnowLi 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 博客 // GetConnection()自定义函数,获取连接指针,类型_ConnectionPtr _ConnectionPtr pConnection = GetConnection(); _CommandPtr pCommand; _RecordsetPtr pRs; try{ pComman 阅读全文
posted @ 2022-01-01 19:03 WindSnowLi 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 实现 #pragma once #ifndef _LOG_CPP_HPP_ #define _LOG_CPP_HPP_ #include <iostream> #include <string> #include <deque> #include <chrono> #include <thread> 阅读全文
posted @ 2021-12-25 18:20 WindSnowLi 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 个人文章地址 1. 头文件 #pragma once #include <string> #include <memory> #include <tuple> #include <functional> #include <thread> template<typename T> class Thr 阅读全文
posted @ 2021-12-15 17:27 WindSnowLi 阅读(65) 评论(0) 推荐(0) 编辑
摘要: 链接 数据结构 Linux平台 #include <iostream> #include <netinet/in.h> #include <arpa/inet.h> #include <sys/socket.h> #include <netdb.h> #include <sys/unistd.h> 阅读全文
posted @ 2021-12-03 19:58 WindSnowLi 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 链接 HTTP包格式 基本请求格式 基本响应格式 暴力解析代码及测试(记得加参数-std=c++2a) #include <iostream> #include <map> #include <utility> #include <netinet/in.h> #include <cstring> # 阅读全文
posted @ 2021-12-03 19:48 WindSnowLi 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 原产地 有时会添加一个不是映射到请求方法直接返回的拦截器,这个拦截器应该在预验请求拦截器的后边,否则OPTIONS预验请求会被直接返回,带不回跨域信息头 /** * 配置拦截器 * * @author yujie */ @Configuration public class SystemWebCon 阅读全文
posted @ 2021-11-23 12:48 WindSnowLi 阅读(132) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 12 下一页