2015年7月6日
摘要: 1、问构造函数为什么不能为虚函数没有意义,至少编译不过,更获取不了构造函数的地址。2、class Test{ public: int m_value; public: void testA() { printf("A\n"); } void te... 阅读全文
posted @ 2015-07-06 23:31 kid_coder 阅读(158) 评论(0) 推荐(0)
  2014年12月23日
摘要: string getCompileDateTime() { static string result = ""; if(result == "") { result = string(__DATE__) + " " + string(__TIME__); } r... 阅读全文
posted @ 2014-12-23 21:45 kid_coder 阅读(191) 评论(0) 推荐(0)