摘要: #include using namespace std;class Chain{public: bool Handle() { return false; }};class Level1 : public Chain{public: bool Handle() { ... 阅读全文
posted @ 2014-12-16 16:42 stanley19861028 阅读(95) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;#define DESTROY_POINTER(ptr) if (ptr) { delete ptr; ptr = NULL; }class Context;class DbState{public: DbState(Context* ... 阅读全文
posted @ 2014-12-16 12:03 stanley19861028 阅读(155) 评论(0) 推荐(0) 编辑