摘要:
TCHAR* char2tchar(const char* str) { int iLen = strlen(str); TCHAR* chRtn = new TCHAR[iLen + 1]; size_t converted = 0; mbstowcs_s(&converted, chRtn, i 阅读全文
摘要:
电脑总是自动弹窗 windows功能 按需用户体验工具 processexplore找到进程 使用 sysmon 监测进程 https://superuser.com/questions/1142935/which-app-triggers-the-windows-features-dialog h 阅读全文
摘要:
#include <iostream> using namespace std; int main() { int arr[4][4]={1,2,4,7,3,5,8,11,6,9,12,14,10,13,15,16}; int n=4; for (int k = 0; k <= 2 * (n - 1 阅读全文
摘要:
Attributes in property tree are added as sub-nodes. property tree 属性作为子节点 (坑坑坑坑坑) 使用 write_xml_element(std::cout, pt.front().first, pt.front().second, 阅读全文
摘要:
[_]{1,1}([a-z]) 替换 \U$1 参考: https://superuser.com/questions/312073/use-notepad-to-change-under-score-case-to-camelcase 阅读全文
摘要:
@echo off rem oLink.Arguments rem oLink.Description rem oLink.HotKey rem oLink.IconLocation rem oLink.WindowStyle rem oLink.WorkingDirectory set SCRIP 阅读全文
摘要:
匹配函数大括号 跨行匹配 \t{((.|\n)*?)} 匹配函数名 怎么类名 (.+)\s(.+)\( 替换(visual studio) $1 classname::$2( 阅读全文
摘要:
下载失败 https://raw.githubusercontent.com/boostorg/boost/boost-1.75.0.beta1/boostcpp.jam license.txt下载失败 解决方法: 修改dns为114.114.114.114 参考: https://github.c 阅读全文
摘要:
subst Z: /D subst Z: "D:/mapdir" subst不起作用的话可以 计算机\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices 参考: https://www.ray 阅读全文
摘要:
在项目文件中增加 <PropertyGroup Label="Globals"> <!-- .... --> <VcpkgTriplet Condition="'$(Platform)'=='Win32'">x86-windows-static</VcpkgTriplet> <VcpkgTriple 阅读全文