会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
北京开发
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
9
10
11
12
13
14
15
16
17
···
21
下一页
2023年8月17日
windows下C++获取其它窗口中组件的信息
摘要: 抄自:https://pythonjishu.com/xfqbhrlejawmdfh/ C++获得其他程序窗体控件中信息是一个比较常见的需求,例如在自动化测试、窗口助手等场景下都有可能用到。下面我们就介绍一下C++获得其他程序窗体控件中信息的方法。 安装Visual Studio 获得其他程序窗体控
阅读全文
posted @ 2023-08-17 09:58 北京开发
阅读(1302)
评论(0)
推荐(0)
2023年8月16日
获取Windows窗口
摘要: 抄自: https://blog.csdn.net/freedom2211/article/details/131288406 windowIterator.h class CWindowIterator{ private: static char* wchar2char(const wchar_t
阅读全文
posted @ 2023-08-16 10:04 北京开发
阅读(63)
评论(0)
推荐(0)
把make的错误输出到文件的方法 make 2>/tmp/make.txt
摘要: make 2>/tmp/make.txt
阅读全文
posted @ 2023-08-16 09:19 北京开发
阅读(63)
评论(0)
推荐(0)
2023年8月11日
gbk字符集转为utf8字符集
摘要: #include <stdio.h>#include <stdlib.h>#include <iconv.h>#include <sys/types.h>#include <sys/stat.h>#include <unistd.h>#include <string.h> int encoding_
阅读全文
posted @ 2023-08-11 16:52 北京开发
阅读(84)
评论(0)
推荐(0)
2023年8月10日
Linux应用程序加载过程,内核加载一个应用程序到内存中的入口
摘要: ../kernel/umh.c 618: int call_usermodehelper(const char *path, char **argv, char **envp, int wait) ../kernel/umh.c 379: struct subprocess_info *call_u
阅读全文
posted @ 2023-08-10 09:55 北京开发
阅读(137)
评论(0)
推荐(0)
2023年8月3日
c++获取U盘序列号
摘要: int getUDiskSerial(std::vector<std::string>& vUsbSerial){ std::string cmd = "lsblk -o \"SERIAL,TRAN\" | grep usb "; FILE *fp; int len = 0; int idx = 0
阅读全文
posted @ 2023-08-03 14:25 北京开发
阅读(455)
评论(0)
推荐(0)
c++时间、日期、秒相互转换
摘要: 1、日期时间转秒函数 用法: unsigned long long startTime = date2Second("2021-10-1 15:00:00"); time_t date2Second(std::string timeStr){ struct tm timeinfo; strptime
阅读全文
posted @ 2023-08-03 10:15 北京开发
阅读(355)
评论(1)
推荐(0)
2023年8月2日
decrypt
摘要: 1、用记事本打开源文件,全选拷贝 2、创建一个空txt文件,随便把扩展名txt改成不是加密的文件类型,最好四个字符以上; 3、用记事本打开空文件,粘贴,保存。
阅读全文
posted @ 2023-08-02 16:25 北京开发
阅读(155)
评论(0)
推荐(0)
2023年8月1日
一个QTModule view的最简单例子
摘要: 来自: https://qt.0voice.com/?id=420 #include <QtWidgets> int main(int argc, char *argv[]) { QApplication app(argc, argv); // 创建标准项目模型 QStandardItemModel
阅读全文
posted @ 2023-08-01 14:26 北京开发
阅读(41)
评论(0)
推荐(0)
sqlite3强制写磁盘的方法
摘要: 1、 VACUUM 2、 设置 synchronous 为 FULL 。
阅读全文
posted @ 2023-08-01 09:38 北京开发
阅读(95)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
···
21
下一页
公告