04 2023 档案
摘要:include iostream include windows.h using namespace std; HHOOK hHook = 0; LRESULT CALLBACK LowLevelKeyboardProc(int nCode, WPARAM wParam, LPARAM lParam
阅读全文
摘要:<script>alert(navigator.appVersion);</script>
阅读全文
摘要:https://docs.openkylin.top/zh/%E7%A4%BE%E5%8C%BA%E5%BC%80%E5%8F%91%E6%8C%87%E5%8D%97/openKylin+SDK%E5%BC%80%E5%8F%91%E6%8C%87%E5%8D%97V20
阅读全文
摘要:原因:将windows下的cpp(编码:ANSI)复制到linux下(默认编码是utf-8),Qt Creator报错:error:could not decode "" with "utf-8“ -encoding editing not possible 解决方法:windows下将该.cpp文
阅读全文
摘要:runJavaScript()必须在QWebEnginePage加载完成(loadFinishe())后才能生效
阅读全文
摘要:发命令:Explorer E:\Download
阅读全文
摘要:BOOL Is64BitSystem() { typedef void (WINAPI *PGNSI)(LPSYSTEM_INFO); PGNSI pGNSI; SYSTEM_INFO si; ZeroMemory(&si, sizeof(SYSTEM_INFO)); pGNSI =(PGNSI)
阅读全文
摘要:windows下: #include "windows.h" SYSTEM_INFO sysInfo; GetSystemInfo( &sysInfo ); printf("now system cpu num is %d\n", sysInfo.dwNumberOfProcessors); 跨平台
阅读全文
摘要:wstring getWindowsDirectory() { wstring wstr; UINT size=GetWindowsDirectory(NULL,0); wchar_t *path=new wchar_t[size]; if(GetWindowsDirectory(path,size
阅读全文
摘要:命令:netstat -aon|findstr “80” 本地地址是指本地打开的端口,外部地址是本地访问外部的端口(外部打开的端口),最后一列是使用该端口的进程PID
阅读全文
摘要:报错:DevTools failed to load source map: Could not load content for http://localhost:8000/css/bootstrap.min.css.map: HTTP error: status code 404, net::E
阅读全文
摘要:帮助-关于插件-取消勾选ClangCoeModel
阅读全文
摘要:std::map<int, std::string> map; 判断key是否存在时不能使用:std::string str = map[9]; //这样不存在时会新增!!! 需要这样判断: std::map<int, std::string>::interator iter; iter = map
阅读全文
摘要:QList<QNetworkInterface> nets = QNetworkInterface::allInterfaces(); QString name = nets[i].humanReadableName(); if(name.contains("VMware")
阅读全文