摘要:
1. Download googletest, which contain googletest and googlemock : https://github.com/google/googletest 2. install both googletest and googlemock It is 阅读全文
摘要:
A transformation matrix describes the rotation of a coordinate system while an object remains fixed. In contrast, a rotation matrix describes the rota 阅读全文
摘要:
kd-trees allow to efficiently perform searches like "all points at distance lower than R from X" or "k nearest neighbors of X". Kd-trees allow to perf 阅读全文
摘要:
cmake .. 和 make 之后,出现如下错误 tmp.cpp 内容如下 解决方法: 在 CMakeLists.txt 中添加如下命令,指定 g++ 为编译器。 用 gcc 直接编译会出现同样的错误,用 g++直接编译则不会。 阅读全文
摘要:
Hot to migrate plugins and setting for vim from one computer to another ? Just copy ~/.vim and ~/.vimrc from original one to the target one. 阅读全文
摘要:
Both object oritend programming(OOP) and generic programming deal with types that are not known at the time the program is written. The distinction be 阅读全文
摘要:
Don't use get to initialize or assign another smart pointer. The code that use the return from get can not delete the pointer Although the compiler wi 阅读全文
摘要:
Efficiently Implementing Dilate and Erode Image Functions, ostermiller 阅读全文
摘要:
1. make_shared<T>(args): return a shared_ptr dynamically allocated object of type T. Use args to initialize the object. shared_ptr<T> p(q): p is a cop 阅读全文
摘要:
A* is a best-first search, meaning that it solves problems by searching amoung all possible paths to the solution(goal) for the one that incurs the sm 阅读全文