随笔分类 -  C++ Language

problems with basic C++ language
摘要:1. Paint Selection 2009年Siggraph的一篇文章中提出的,一个非常优秀的交互式图像分割算法 http://code.google.com/p/jupitercv/2. Kd-Tree & Ray-Tracing 使用几种不同策略实现了Kd-Tree,并实现了一个简单的Ray-Tracing算法来进行测式,项目中还包含几个其他的图形学算法 http://code.google.com/p/venuscg/ 参考文献: On building fast kd-trees for ray tracing, and on doing that in O(N log.. 阅读全文
posted @ 2012-08-12 17:18 Aldrich 阅读(293) 评论(1) 推荐(0)
摘要:Recently, I met a problem when define S_NORMAL as a enumeration value. The compiler report lots of strange errors. Then I did some experiments, both with GCC and VC(without Windows libs), and found t... 阅读全文
posted @ 2010-11-24 09:52 Aldrich 阅读(137) 评论(0) 推荐(0)
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--#include<stdio.h>template<classT>classC{public:structA{Tx;};structB:A{inty;B(){x=10;//er... 阅读全文
posted @ 2010-03-04 11:43 Aldrich 阅读(308) 评论(1) 推荐(0)