上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 40 下一页
摘要: qdatetime doc 获取当前时间 QDateTime t1 = QDateTime::currentDateTime(); qDebug() << t1.toString("yyyy-MM-dd hh:mm:ss"); string to QDateTime QDateTime t1 = Q 阅读全文
posted @ 2020-09-03 16:13 Ajanuw 阅读(1508) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <Windows.h> #pragma comment(lib, "user32.lib") #pragma comment(lib, "advapi32.lib") int main() { // https://docs.microsof 阅读全文
posted @ 2020-09-03 15:11 Ajanuw 阅读(442) 评论(0) 推荐(0) 编辑
摘要: onLoad(options) { this.setViewport(`width=device-width, initial-scale=1.0`); }, onUnload() { this.setViewport(`width=device-width, user-scalable=no, i 阅读全文
posted @ 2020-09-02 10:59 Ajanuw 阅读(2227) 评论(0) 推荐(0) 编辑
摘要: wchar_t to char #include <comdef.h> const wchar_t* exepath = L"d:\\中文 路径\\中文 路径.exe"; _bstr_t b(exepath); const char* c = b; printf("%s\n", c); MultiB 阅读全文
posted @ 2020-08-30 17:09 Ajanuw 阅读(57) 评论(0) 推荐(0) 编辑
摘要: 注意看备注 https://docs.microsoft.com/en-us/windows/win32/api/psapi/nf-psapi-getmodulefilenameexa #include <iostream> #include <Windows.h> #include <TlHelp 阅读全文
posted @ 2020-08-30 11:21 Ajanuw 阅读(515) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <Windows.h> using namespace std; int main() { EnumWindows([](HWND hwnd, LPARAM lParam) { DWORD pid = 0; GetWindowThreadPr 阅读全文
posted @ 2020-08-30 11:03 Ajanuw 阅读(1767) 评论(0) 推荐(0) 编辑
摘要: http://www.cplusplus.com/reference/regex/regex_replace/ #include <iostream> #include <regex> using namespace std; string mask = " 01 02 03 ?? ?? 0? 2? 阅读全文
posted @ 2020-08-29 14:28 Ajanuw 阅读(319) 评论(0) 推荐(0) 编辑
摘要: .gitignore: * # include !.gitignore !a.txt !dir2 阅读全文
posted @ 2020-08-28 12:29 Ajanuw 阅读(444) 评论(0) 推荐(0) 编辑
摘要: 原文 定义掩码 const mask0 = parseInt("00000001", 2); const mask1 = parseInt("00000010", 2); const mask2 = parseInt("00000100", 2); const mask3 = parseInt("0 阅读全文
posted @ 2020-08-26 11:03 Ajanuw 阅读(592) 评论(0) 推荐(0) 编辑
摘要: for (let i = 0; i < 3; i++) { console.log(i); } let i = 0; for (;;) { if (!(i < 3)) { break; } console.log(i); i++; } 添加label end: for (let i = 0; i < 阅读全文
posted @ 2020-08-23 12:37 Ajanuw 阅读(137) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 40 下一页