摘要: #include <ctime> std::string getNowTime() { time_t t = time(nullptr); struct tm *sTime = localtime(&t); char tmp[32]{0}; snprintf(tmp, sizeof(tmp), "% 阅读全文
posted @ 2022-07-27 08:43 残月影歌 阅读(124) 评论(0) 推荐(0) 编辑