会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
YiXiaoKezz
新随笔
联系
管理
[置顶]
C++代码Scratches
摘要: 字符、字符串分割字符串 #include <iostream> #include <vector> using std::string; using std::vector; //此方法用于char时,将第二个参数类型改为char,separator.size()改为 1 即可 vector<str
阅读全文
posted @ 2022-12-30 15:13 YiXiaoKezz
阅读(50)
评论(0)
推荐(0)
2025年7月1日
win获取当前时间(毫秒)
摘要: struct tm ltm; int msec = 0; FILETIME fileTime; GetSystemTimeAsFileTime(&fileTime); ULARGE_INTEGER uli; uli.LowPart = fileTime.dwLowDateTime; uli.High
阅读全文
posted @ 2025-07-01 17:44 YiXiaoKezz
阅读(13)
评论(0)
推荐(0)
2024年1月10日
测试SuspendThread、ResumeThread
摘要: #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
阅读(13)
评论(0)
推荐(0)
2024年1月8日
windows C++根据进程名杀死进程
摘要: #include <afxwin.h> #include <tlhelp32.h> HANDLE hSnapShot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); PROCESSENTRY32* processInfo = new PROCES
阅读全文
posted @ 2024-01-08 10:49 YiXiaoKezz
阅读(329)
评论(0)
推荐(0)
2023年8月8日
windows api录音pcm
摘要: 基于讯飞音频api修改 #ifndef __WINREC_H__ #define __WINREC_H__ #include <cstdint> #include <Windows.h> namespace WinRecHZ { /* Do not change the sequence */ en
阅读全文
posted @ 2023-08-08 15:43 YiXiaoKezz
阅读(51)
评论(0)
推荐(0)
2023年5月15日
get getline读取一行时区别
摘要: 原因:getline读取到换行符时会返回并丢弃换行符,get不会丢弃,下次使用get时会第一个就读到换行符,马上返回。
阅读全文
posted @ 2023-05-15 12:04 YiXiaoKezz
阅读(38)
评论(0)
推荐(0)
2023年4月28日
VS2017使用goodnight theme
摘要: 下载源码编译,地址: https://github.com/wuoyrd/vs-theme-goodnight 稀里糊涂编译成了pkgdef文件,好在文件正确,又有插件可以读取这种文件 1、在扩展中搜索theme,安装此扩展 2、安装后打开颜色设置 3、导入主题 4、选择主题文件 5、选择主题为go
阅读全文
posted @ 2023-04-28 15:26 YiXiaoKezz
阅读(182)
评论(0)
推荐(0)
2023年3月30日
Resharper调校
摘要: ```xml 1.取消显示参数前的灰色提示 搜索hint,更改以下两处,C++下面的选项有show的全取消勾选 ``` 
评论(0)
推荐(0)
2023年3月17日
编码转换
摘要: ```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
阅读(36)
评论(0)
推荐(0)
2022年12月24日
拦截必应“根据热门内容向你推荐”
摘要: 安装ADGuard插件,在必应搜索界面右键,选择 框选标题下方出现的推荐内容,点开高级设置,选中拦截类似元素,点击拦截,OK!
阅读全文
posted @ 2022-12-24 23:55 YiXiaoKezz
阅读(741)
评论(0)
推荐(0)
下一页