随笔分类 - 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..
阅读全文
摘要: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...
阅读全文
摘要:代码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...
阅读全文

浙公网安备 33010602011771号