2011年9月12日

摘要: http://vanlee820816.blog.163.com/blog/static/1798135120070310478427/ VS2005中提供的检测方法: 1 IDE(集成开发环境)集成2 #pragma 支持 3 批注支持4 作为签入策略的一部分运行分析工具 5 Team System 与 Team Build 的集成6 命令行支持 一 代码分析工具用于检测常见的编码错误,例... 阅读全文
posted @ 2011-09-12 22:37 applesun0757 阅读(335) 评论(0) 推荐(0)

2011年9月11日

摘要: 转自: http://blog.csdn.net/freeman1975/article/details/4390815 常量指针,就是指向常量的指针,关键字 const 出现在 * 左边,表示指针所指向的地址的内容是不可修改的,但指针自身可变。const int *pSrc; or int const *pSrc; 指针常量,指针自身是一个常量,关键字 const 出现在 * 右边,表示... 阅读全文
posted @ 2011-09-11 15:01 applesun0757 阅读(290) 评论(0) 推荐(0)

2011年9月5日

摘要: http://topic.csdn.net/u/20100126/11/30f562de-dd3a-49aa-9822-041b4a99f2e2.html 阅读全文
posted @ 2011-09-05 11:50 applesun0757 阅读(171) 评论(0) 推荐(0)

2011年7月14日

摘要: 给隐含的this指针加const,表示这个this指向的东西是const的,也就是说这个函数中无法改动数据成员了。const是一种保证,告诉你这个成员不会改变对象的状态。 对我有用[0]丢个板砖[0]引用举报管理TOP精华推荐:请教:关于内存对齐问题。请解释以下程序运行结果。 lovewhzlq(Me栺漉潙驫)等 级: #2楼 得分:1... 阅读全文
posted @ 2011-07-14 23:21 applesun0757 阅读(244) 评论(0) 推荐(0)

2011年7月12日

摘要: Remap 对图像进行普通几何变换 void cvRemap( const CvArr* src, CvArr* dst, const CvArr* mapx, const CvArr* mapy, int flags=CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS, CvSca... 阅读全文
posted @ 2011-07-12 15:37 applesun0757 阅读(890) 评论(0) 推荐(0)

2011年7月9日

摘要: 给你的图添加一些颜色 BGL实现尽可能灵活地适应图的附加属性,举个例子,属性如边的权重存在于在图对象的整个生命周期都,因此让图对象管理这个属性的存储将会带来很多便利;另外,属性如顶点颜色只在某个算法的运行期内需要,将此属性和图对象分开存储将会更好。第一种属性称为内在存储属性,而第二种称为外在存储属性。BGL 在图算法中为两种属性提供了一致的访问接口property map,此接口在章节Prop... 阅读全文
posted @ 2011-07-09 23:00 applesun0757 阅读(422) 评论(0) 推荐(0)
摘要: http://hi.baidu.com/soulmachine/blog/item/cc404deeeca53afbb3fb95c5.html 转)Boost Graph Library 快速入门 2006年12月12日 星期二 下午 08:29 看了A Quick Tour of the Boost Graph Library 一会儿之后,心想应该有人翻译了这篇文章才对,一搜,居然找到... 阅读全文
posted @ 2011-07-09 21:06 applesun0757 阅读(1791) 评论(0) 推荐(0)

2011年7月8日

摘要: 获取顶点\边数目 num_vertices num_edges 遍历图 阅读全文
posted @ 2011-07-08 15:53 applesun0757 阅读(186) 评论(0) 推荐(0)

2011年5月24日

摘要: 函数:showMaximized();相关讨论http://topic.csdn.net/u/20100607/18/87664397-bbea-4713-941d-bdcdefa7c4f3.html 阅读全文
posted @ 2011-05-24 19:58 applesun0757 阅读(205) 评论(0) 推荐(0)

2011年5月23日

摘要: #include <limits>x = std::numeric_limits<int>::max();c:/.../x.cpp(192) : warning C4003: not enough actual parameters for macro 'max'c:/.../x.cpp(192) : error C2589: '(' : illegal token on right side of '::'c:/.../x.cpp(192) : error C2059: syntax error : ':: 阅读全文
posted @ 2011-05-23 14:34 applesun0757 阅读(435) 评论(0) 推荐(0)