随笔分类 -  设计模式

摘要:#pragma once#include "student.h"#include "Teacher.h"typedef enum _EPersonType{ ePersonUndefin = 0, ePersonStudent, ePersonTeacher}EPersonType... 阅读全文
posted @ 2014-07-11 17:02 酱酱爱 阅读(311) 评论(0) 推荐(0)
摘要:#include #include using namespace std;class Single{public: static Single* ShareInstance(); static void ReleaseInstance();private: Single(); ... 阅读全文
posted @ 2014-07-10 17:27 酱酱爱 阅读(252) 评论(0) 推荐(0)