摘要: 字符、字符串分割字符串 #include <iostream> #include <vector> using std::string; using std::vector; //此方法用于char时,将第二个参数类型改为char,separator.size()改为 1 即可 vector<str 阅读全文
posted @ 2022-12-30 15:13 YiXiaoKezz 阅读(39) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <windows.h> #include <process.h> #include <conio.h> enum { EVT_PAUSE = 0, EVT_RESUME, EVT_QUIT, EVT_TOTAL }; static HANDL 阅读全文
posted @ 2024-01-10 14:58 YiXiaoKezz 阅读(3) 评论(0) 推荐(0) 编辑
摘要: #include <afxwin.h> #include <tlhelp32.h> HANDLE hSnapShot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); PROCESSENTRY32* processInfo = new PROCES 阅读全文
posted @ 2024-01-08 10:49 YiXiaoKezz 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 一、可直接用Audacity打开 pcm.h #pragma once #include <cstdio> #include <cstdint> #include <Windows.h> class pcm { public: pcm(); ~pcm(); void startRecording() 阅读全文
posted @ 2023-08-08 15:43 YiXiaoKezz 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 原因:getline读取到换行符时会返回并丢弃换行符,get不会丢弃,下次使用get时会第一个就读到换行符,马上返回。 阅读全文
posted @ 2023-05-15 12:04 YiXiaoKezz 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 下载源码编译,地址: https://github.com/wuoyrd/vs-theme-goodnight 稀里糊涂编译成了pkgdef文件,好在文件正确,又有插件可以读取这种文件 1、在扩展中搜索theme,安装此扩展 2、安装后打开颜色设置 3、导入主题 4、选择主题文件 5、选择主题为go 阅读全文
posted @ 2023-04-28 15:26 YiXiaoKezz 阅读(120) 评论(0) 推荐(0) 编辑
摘要: ```xml 1.取消显示参数前的灰色提示 搜索hint,更改以下两处,C++下面的选项有show的全取消勾选 ``` ![](https://img2023.cnblogs.com/blog/1638732/202303/1638732-20230330153807001-501269958.pn 阅读全文
posted @ 2023-03-30 14:39 YiXiaoKezz 阅读(60) 评论(0) 推荐(0) 编辑
摘要: ```C++ #include std::string unicodeToUTF8(const std::wstring &src) { std::string result; int n = WideCharToMultiByte(CP_UTF8, 0, src.c_str(), -1, 0, 0 阅读全文
posted @ 2023-03-17 14:31 YiXiaoKezz 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 安装ADGuard插件,在必应搜索界面右键,选择 框选标题下方出现的推荐内容,点开高级设置,选中拦截类似元素,点击拦截,OK! 阅读全文
posted @ 2022-12-24 23:55 YiXiaoKezz 阅读(657) 评论(0) 推荐(0) 编辑
摘要: 第一次编译chm文档,试了好几次还不行,就这样用吧,编译的有些问题,仅供参考。 另附带FreeSouth大神编译的osg3.6.5版本的文档,学习OSG,认准杨石兴, 他的博客地址:https://freesouth.blog.csdn.net/category_11179824.html 文档链接 阅读全文
posted @ 2021-09-19 23:38 YiXiaoKezz 阅读(871) 评论(0) 推荐(1) 编辑