上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 42 下一页

2019年3月19日

Windows API Index

摘要: https://docs.microsoft.com/en-us/windows/desktop/apiindex/windows-api-list 阅读全文

posted @ 2019-03-19 13:13 liujx2019 阅读(223) 评论(0) 推荐(0) 编辑

[Qt] QlineEdit 限制输入,例如只能输入整数

摘要: 要注意validor的作用域,如果超出作用域,则会无效。例如下面的代码,在UI的类的构造函数里。所以要new一个validtor. 或者 阅读全文

posted @ 2019-03-19 09:27 liujx2019 阅读(7339) 评论(0) 推荐(1) 编辑

2019年3月18日

(c++ std) 查找 vector 中的元素

摘要: You can use std::find from <algorithm>: std::find(vector.begin(), vector.end(), item) != vector.end() This returns a bool (true if present, false othe 阅读全文

posted @ 2019-03-18 16:46 liujx2019 阅读(25466) 评论(0) 推荐(0) 编辑

[SVN] Couldn't perform atomic initialization

摘要: It was because the partition that svn had been installed in, was full. 阅读全文

posted @ 2019-03-18 10:32 liujx2019 阅读(2481) 评论(0) 推荐(0) 编辑

2019年3月15日

Python 基础教程(第二版)笔记 (1)

摘要: P22 除非对 input 有特别的需要,否则应该尽可能使用 raw_input 函数。 长字符串,跨多行,用三个引号代替普通引号。并且不需要使用反斜线进行转义。 P23 原始字符串 并且不能以反斜线结尾 假如nowhere是一个文件夹,应该写成这样 P36 列表方法:1.append, 2.cou 阅读全文

posted @ 2019-03-15 17:21 liujx2019 阅读(174) 评论(0) 推荐(0) 编辑

NTSTATUS code 和 Windows 系统错误码 的对应关系

摘要: 出处:https://github.com/dokan-dev/dokany/blob/master/dokan/ntstatus.i 阅读全文

posted @ 2019-03-15 15:39 liujx2019 阅读(525) 评论(0) 推荐(0) 编辑

2019年3月14日

[Inno Setup] 在 File Section 之前解压文件

摘要: Prototype: procedure ExtractTemporaryFile(const FileName: String); Description: Extracts the specified file from the [Files] section to a temporary di 阅读全文

posted @ 2019-03-14 17:41 liujx2019 阅读(664) 评论(0) 推荐(0) 编辑

[Inno Setup] 对比字符串

摘要: [Code] var MD5Comp: string; procedure ExitProcess(uExitCode:UINT); external 'ExitProcess@kernel32.dll stdcall'; procedure CurStepChanged(CurStep: TSetupStep); begin MD5Comp := '32297BCBF4D8... 阅读全文

posted @ 2019-03-14 17:38 liujx2019 阅读(901) 评论(0) 推荐(0) 编辑

[QT] QProcess finished 信号,关联的 slot 必须检查返回码

摘要: void QProcess::finished(int exitCode, QProcess::ExitStatus exitStatus) 阅读全文

posted @ 2019-03-14 17:37 liujx2019 阅读(1049) 评论(0) 推荐(0) 编辑

为什么痛风病人不能喝酒?

摘要: https://dxy.com/column/3140 阅读全文

posted @ 2019-03-14 11:05 liujx2019 阅读(127) 评论(0) 推荐(0) 编辑

上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 42 下一页

导航