07 2013 档案
摘要:嗯,添加一个按钮和我们自己定义的成员变量 关联。方法1. 在*.rc 或者class 类视图中点击[add variable],就会自动生成DDX_Text(*,*)的内容及其IF方法2. 自己写在XXXDlg.cpp中这样定义DDX_Text(pDX, IDC_USER_NAME, m_UserN...
阅读全文
摘要:#### linux man pagehttps://www.kernel.org/doc/man-pages/http://linux.die.net/man/https://www.linux.com/learn/docs/ldp/624-Man-Page https://wiki.archli...
阅读全文
摘要:http://www.gnu.org/manual/http://www.gnu.org/software/gdb/documentation/http://sourceware.org/gdb/current/onlinedocs/gdb/http://blog.csdn.net/haoel/ar...
阅读全文
摘要:http://www.cplusplus.com/reference/algorithm/for_each/std::move()用于c++11http://www.cplusplus.com/reference/utility/move/c++98// for_each example#include // std::cout#include // std::for_each#include // std::vectorvoid myfunction (int i) { // function: std::cout myvector; myvector...
阅读全文
摘要:template InputIterator find (InputIterator first, InputIterator last, const T& val){ while (first!=last) { if (*first==val) return first; ++first; } return last;}http://www.cplusplus.com/reference/algorithm/find/// find example#include // std::cout#include // std::find#include ...
阅读全文
摘要:先了解下什么都有什么排序算法https://en.wikipedia.org/wiki/Sorting_algorithm http://zh.wikipedia.org/zh/%E6%8E%92%E5%BA%8F%E7%AE%97%E6%B3%95http://student.zjzk.cn/co...
阅读全文
摘要:http://www.infoq.com/cn/news/2012/08/32-most-important-algorithms?utm_source=infoq&utm_medium=popular_links_homepagehttp://www.risc.jku.at/people/ckoutsch/stuff/e_algorithms.html奥地利符号计算研究所(Research Institute for Symbolic Computation,简称RISC)的Christoph Koutschan博士在自己的页面上发布了一篇文章,提到他做了一个调查,参与者大多数是计算
阅读全文
摘要:函数重载指 重载函数,形参(类型)不同,实现的功能一样。泛型算法指2个方面:这些算法可作用于各种不同的容器类型,而这些容器类型又可以容纳多种不同类型的元素。
阅读全文
摘要:以下是2种表达方式一样。if expression codeendif expression then #推荐这种形式 codeendexpression的值不是false或nil,则code块将被执行。需要注意:1)围绕expressions的圆括号是可选的(而且通常都不用),ruby使用换行符、分号或者关键字then对条件表达式和后续的内容进行分隔 2) 必须以end 作为结束。例子if data #if array exist data << x #append x to dataelse data = [x] #create ...
阅读全文