摘要: BOOL IsDirectory(LPCTSTR pstrPath) { if (NULL == pstrPath) { return FALSE; } /*去除路径末尾的反斜杠*/ CString strPath = pstrPath; if (strPath.Right(1) == _T('\\ 阅读全文
posted @ 2020-09-05 22:08 曦花 阅读(172) 评论(0) 推荐(0) 编辑
摘要: string strHouseId = "abcd"; const char *pC1 = strHouseId.c_str(); strHouseId = "1234"; const char *pC2 = strHouseId.c_str(); 此时的pC1和pC2内容一样 string的c_s 阅读全文
posted @ 2020-09-05 20:27 曦花 阅读(160) 评论(0) 推荐(0) 编辑