面试一则
摘要: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)
时间标签
摘要:string getCompileDateTime() { static string result = ""; if(result == "") { result = string(__DATE__) + " " + string(__TIME__); } r...
阅读全文
posted @
2014-12-23 21:45
kid_coder
阅读(192)
推荐(0)