2021年9月28日

摘要: void GetLocalTimeString(string& strLocalTime, bool bDateOnly){ static char chTime[15]; time_t lTime; time(&lTime); tm sTM; localt... 阅读全文
posted @ 2021-09-28 07:32 lydstory 阅读(67) 评论(0) 推荐(0)
摘要: 这样做是为了当用一个基类的指针删除一个派生类的对象时,派生类的析构函数会被调用 扩展:多态 程序结构中的设计模式 阅读全文
posted @ 2021-09-28 07:21 lydstory 阅读(31) 评论(0) 推荐(0)

导航