摘要: 只两天在做C++的开发,需要一个时间的字符串,星期为中文,精确到毫秒。网上查了一些资料总结如下: #include <windows.h> string getTimeNow() { SYSTEMTIME sys; GetLocalTime(&sys); char nowTime[40]; char 阅读全文
posted @ 2023-03-09 17:58 萧海~ 阅读(24) 评论(0) 推荐(0) 编辑