03 2013 档案

没有初始化的指针会是个什么值呢?
摘要:在C++的构造函数中我们应该把所有成员变量都初始化,如果我们忘记了初始化一个成员指针,会发生什么呢? 假设有如下代码: class my{public: my(){}; ~my(){delete[] r;}private: float* r;};class my2{private: my m;};int main() { float* f; m... 阅读全文

posted @ 2013-03-15 16:31 fresky 阅读(561) 评论(0) 推荐(0)

高性能软件需要知道的一些数字(zz)
摘要:Numbers to understand if you are writing high performance software 阅读全文

posted @ 2013-03-15 15:58 fresky 阅读(148) 评论(0) 推荐(0)

SEH(Structured Exception Handling)详细解释
摘要:A Crash Course on theDepths of Win32 Structured Exception Handling, MSJ January 1997详细解释了什么是SECH(Structured Exception Handling)。 阅读全文

posted @ 2013-03-08 16:16 fresky 阅读(247) 评论(0) 推荐(0)

用Doxygen加上Graphviz来理解代码。
摘要:Doxygen加上Graphviz可以做出非常直观的doc和类图之类的,非常有利于阅读代码。这里有一个使用说明,用Doxygen+Graphviz生成函数调用流程图。 阅读全文

posted @ 2013-03-07 18:39 fresky 阅读(195) 评论(0) 推荐(0)

developer应该知道的image知识(JPG和PNG)
摘要:Jesse Chapo - Developers Guide to Images 阅读全文

posted @ 2013-03-01 19:07 fresky 阅读(187) 评论(0) 推荐(0)

Command Query Responsibility Segregation
摘要:Martin Flowler 11年写得CQRS。 阅读全文

posted @ 2013-03-01 18:56 fresky 阅读(156) 评论(0) 推荐(0)

导航