上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 40 下一页
摘要: 版本 V2.6.4 顺序 1.清理 xmake f -c 2. 切换为vs工具链 xmake f -p windows --toolchain=msvc --vs=2015 -a x64 3. 生成 xmake project -k vsxmake2015 -m "debug,release" xm 阅读全文
posted @ 2022-03-16 22:17 mohist 阅读(526) 评论(0) 推荐(0)
摘要: note 一个开发利器 阅读全文
posted @ 2022-03-14 21:10 mohist 阅读(46) 评论(0) 推荐(0)
摘要: 一个例子 #include <type_traits> template <typename T, typename U> typename std::common_type<T, U>::type max(T a, U b) { return b < a ? a : b; } 上面的函数, 使用下 阅读全文
posted @ 2022-03-10 19:52 mohist 阅读(165) 评论(0) 推荐(0)
摘要: 前言 不能只看, 尤其是模板这块, 多上手, 熟能生巧 好文地址 中文的C++ Template的教学指南 阅读全文
posted @ 2022-03-08 20:09 mohist 阅读(122) 评论(0) 推荐(0)
摘要: cmake拷贝文件夹 使用add_custom_target完成拷贝 下面的核心代码, 以VS2015为例,将会创建一个名为copy_files的项目,见下图: 核心代码范例 # 拷贝文件夹到指定的目录 add_custom_target(copy_files ALL VERBATIM # COMM 阅读全文
posted @ 2022-03-03 00:25 mohist 阅读(4793) 评论(0) 推荐(0)
摘要: 参考资料 http://chonghw.github.io/ http://chonghw.github.io/ http://chonghw.github.io/blog/2016/08/11/memoryreorder/ http://chonghw.github.io/blog/2016/09 阅读全文
posted @ 2022-02-23 22:01 mohist 阅读(158) 评论(0) 推荐(0)
摘要: -C++基础知识汇集总结 阅读全文
posted @ 2022-01-24 23:09 mohist 阅读(118) 评论(0) 推荐(0)
摘要: -lock-free 编程 阅读全文
posted @ 2022-01-24 21:15 mohist 阅读(59) 评论(0) 推荐(0)
摘要: 地址 如何高效利用GitHub 阅读全文
posted @ 2021-09-12 11:19 mohist 阅读(99) 评论(0) 推荐(0)
摘要: note 虚拟列表可有效加载大量数据 需要处理listctrl的 LVN_GETDISPINFO 消息 使用虚拟列表 不能 使用 insert的方法插入数据,而是告诉listctrl 当前要显示多少行 使用SetItemCount函数告诉listctrl当前显示多少行 使用虚拟列表需要自己维护数据源 阅读全文
posted @ 2021-09-11 22:10 mohist 阅读(1730) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 40 下一页