현재 폴더에 현재 날짜,시간으로 TXT file 명 생성 방법
현재 폴더에 현재 날짜,시간으로 TXT file 명 생성 방법 CTime::GetCurrentTime()을 사용해서 현재 날짜, 시간으로 현재 실행 폴더에 TXT file 명 생성 방법CString GetSaveDataFileName() { CString strPath, strTime; CTime t = CTime::GetCurrentTime(); strTime.Format(_T("_%02d%02d_%02d%02d"), t.GetMonth(), t.GetDay(), t.GetHour(), t.GetMinute() ); int nLen = (int)GetModuleFileName( AfxGetInstanceHandle(), strPath.GetBuffer( 256 ), 256 ); strPath.Relea..