摘要:
将毫秒转换为时分秒毫秒表示 阅读全文
摘要:
Bind code to lua 阅读全文
摘要:
新C++中已经有函数实现此类功能。 数字转为字符串 字符串转为数字 参见: from 阅读全文
摘要:
I use this to split string by a delim. The first puts the results in a pre-constructed vector, the second returns a new vector. Note that this solutio 阅读全文
摘要:
• iM: has identity and cannot be moved from • im: has identity and can be moved from (e.g. the result of casting an lvalue to a rvalue reference) • Im 阅读全文
摘要:
编译后产生dependencies文件夹,复制到cegui的目录下,与其顶层的CMakeLists.txt在同一个文件夹中。 使用directx11需要配置好directx sdk,重新编译好effect11,并配置环境。 使用VS2010,现在(20160621)新的编译器使用的directx11 阅读全文
摘要:
https://github.com/Microsoft/FX11 虽然被开源了,但还是会警告。 折腾。 The Effects 11 library requires the D3DCompile DLL to be present at runtime, and the EXE project 阅读全文
摘要:
详细介绍 阅读全文
摘要:
// 通过将键绑定放入键绑定文件中来覆盖键绑定。 [ { "key": "shift+escape", "command": "closeReferenceSearchEditor", "when": "inReferenceSearchEditor && !config.editor.stablePee... 阅读全文
摘要:
// 通过将设置放入设置文件中来覆盖设置。 { //-------- 编辑器配置 -------- // 控制字体系列。 "editor.fontFamily": "Consolas, 'Courier New', monospace", // 控制字体大小。 "editor.fontSize": 14, // 控制行高。 "edi... 阅读全文
摘要:
获取文件夹下所有文件的绝对路径与文件名包含文件名后缀。包含子文件夹中的文件。 dir 路径 /s /b /a:-d > d:\result.txt 批量重命名 ren *.txt *.html 将txt后缀改为html dir e: /a /s /d /w > d:c.txt tree e: /f 阅读全文
摘要:
书本中的例子迁移:Introduction to 3D Game Programming with Direct3D 11.0 颜色:DirectXColors.h and the DirectX::Colors namespace. 效果:Effect framework编译后只需两个文件,d3d 阅读全文
摘要:
HWND已知,获取其他信息。 GetWindowLong function WindowID已知,父窗口HWND已知,获取其他信息。 之所以需要知道父窗口的HWND因为windowID只是在同一个父窗口下保持唯一。 GetDlgItem function 阅读全文
摘要:
搜索 MessageBox function 如果没有指定父窗口,则不会表现为模态。 阅读全文