摘要: #include<windows.h>#include <time.h> int GetDayBegin(UINT iTmpStamp, UINT& iStamp){ time_t tick = static_cast<time_t>(iTmpStamp); struct tm t_tm; loca 阅读全文
posted @ 2020-10-22 21:19 龙马8586 阅读(170) 评论(0) 推荐(0) 编辑
摘要: int BufToHex(char* pBuf, int iLen, string& strOut){ strOut.clear(); if (NULL == pBuf || iLen < 1) { return TRUE; } char szTmp[4] = { 0 }; strOut.reser 阅读全文
posted @ 2020-10-22 21:17 龙马8586 阅读(675) 评论(0) 推荐(0) 编辑
摘要: BOOL GetDirFiles(const char* pszDir, char* pszFileType, std::vector<std::string>& vtFileList, BOOL bRecursion){ LOGE_TRUE_RETURN_FALSE(pszDir == NULL 阅读全文
posted @ 2020-10-22 21:14 龙马8586 阅读(397) 评论(0) 推荐(0) 编辑