导航

2014年7月19日

摘要: STL容器能力一览表 VectorDequeListSetMultisetmapMultimap典型内部结构dynamicarrayArray of arraysDoublyLinked listBinary treeBinary treeBinary treeBin... 阅读全文

posted @ 2014-07-19 16:33 ggzone 阅读(197) 评论(0) 推荐(0) 编辑

2014年7月17日

摘要: 配置环境变量在系统变量里面新建变量,名为 OPENCV ,值为自己解压opencv路径下的build路径,如 F:\opencv\build。在系统变量里面编辑 Path 变量,在末尾添加 ;%OPENCV%\x86\vc12\bin 。环境变量设置好后最好注销(重启... 阅读全文

posted @ 2014-07-17 21:13 ggzone 阅读(148) 评论(0) 推荐(0) 编辑

摘要: 配置环境变量在系统变量里面新建变量,名为 OPENCV ,值为自己解压opencv路径下的build路径,如 F:\opencv\build。在系统变量里面编辑 Path 变量,在末尾添加 ;%OPENCV%\x86\vc12\bin 。环境变量设置好后最好注销(重启)一下系统.新建文件opencv... 阅读全文

posted @ 2014-07-17 21:12 ggzone 阅读(379) 评论(0) 推荐(0) 编辑

摘要: 该例展示以下技巧:如何使用map如何撰写和使用仿函数如何在执行期定义排序规则如何在“不在乎大小写”的情况下比较字符串#include#include#include#include#includeusing namespace std;class RuntimeStr... 阅读全文

posted @ 2014-07-17 16:31 ggzone 阅读(199) 评论(0) 推荐(0) 编辑

摘要: 该例展示以下技巧:如何使用map如何撰写和使用仿函数如何在执行期定义排序规则如何在“不在乎大小写”的情况下比较字符串#include#include#include#include#includeusing namespace std;class RuntimeStringCmp{public: e... 阅读全文

posted @ 2014-07-17 16:30 ggzone 阅读(150) 评论(0) 推荐(0) 编辑

2014年7月16日

摘要: 1、cannot determine the location of the vs common tools folder打开"VS2013开发人员命令提示后",上面提示"cannot determine the location of the vs common tools folder",于是打... 阅读全文

posted @ 2014-07-16 21:57 ggzone 阅读(227) 评论(0) 推荐(0) 编辑

摘要: 1、cannot determine the location of the vs common tools folder打开"VS2013开发人员命令提示后",上面提示"cannot determine the location of the vs common t... 阅读全文

posted @ 2014-07-16 21:57 ggzone 阅读(230) 评论(0) 推荐(0) 编辑

摘要: 在使用vs2013编译boost-1.55.0之前,先要给boost做下修改:boost_1_55_0\boost\intrusive\detail\has_member_function_callable_with.hpp line:222templatestati... 阅读全文

posted @ 2014-07-16 21:49 ggzone 阅读(154) 评论(0) 推荐(0) 编辑

摘要: 在使用vs2013编译boost-1.55.0之前,先要给boost做下修改:boost_1_55_0\boost\intrusive\detail\has_member_function_callable_with.hpp line:222templatestatic BOOST_PP_CAT(z... 阅读全文

posted @ 2014-07-16 21:48 ggzone 阅读(180) 评论(0) 推荐(0) 编辑

2014年7月15日

摘要: 预留容量的两类方式:1、不调用默认的构造函数 vector v; v.push_back(111); v.reserve(20); std::copy(v.begin(), v.end(), ostream_iterator(cout," "));//只... 阅读全文

posted @ 2014-07-15 10:58 ggzone 阅读(136) 评论(0) 推荐(0) 编辑