소연의_개발일지
[C++] 폴더 없을 때 폴더 생성
개발공부/C++ 2024. 12. 17. 14:17

폴더 없을 때 폴더 생성 코드 //폴더 없을경우 폴더 작성 if (!PathIsDirectory(strFolderPath)) { // 경로 존재 여부 확인 if (!CreateDirectory(strFolderPath, NULL)) { DWORD dwError = GetLastError(); // 여기에 dwError를 로그로 남김 or 메세지박스로 남김 } }  중간 폴더도 생성하는 재귀 함수bool CreateDirectories(const CString& path) { CString currentPath = L""; int start = 0; while ((start = path.Find(L'\\', start + 1)) != -1) { currentPath ..

article thumbnail
Everything: 파일 검색 프로그램
기타/유틸리티 2024. 12. 17. 09:57

다운로드  혹은 아래 링크에서 다운로드 https://www.voidtools.com/ko-kr/downloads/ 다운로드 - voidtools www.voidtools.com  아주 편하다 굿굿

article thumbnail
CSViewer: CSV 뷰어
기타/유틸리티 2024. 12. 17. 09:53

https://csviewer.com/ Download free CSV file viewerDownload CSV file viewer. Forever free, no strings attached. Load multiple CSV files with up to 500 million rows at once. Search, filter, and export.csviewer.com     csv 볼 때 편하다

article thumbnail
[C++ ] Systemtime : 시스템 시간 날짜 얻어오기
개발공부/C++ 2024. 12. 17. 09:35

Ctime으로는 밀리세컨을 가져올 수 없어 시스템 타임으로 구현했다. SYSTEMTIME이란?SYSTEMTIME은 Windows API에서 날짜와 시간 정보를 나타내는 구조체이다.이를 통해 연도, 월, 일, 시, 분, 초와 같은 세부 날짜 및 시간 데이터를 저장할 수 있다.  SYSTEMTIME 구조체typedef struct _SYSTEMTIME { WORD wYear; // 연도 (예: 2024) WORD wMonth; // 월 (1-12) WORD wDayOfWeek; // 요일 (0-6, 0 = 일요일) WORD wDay; // 일 (1-31) WORD wHour; // 시 (0-23) WORD..

article thumbnail
[Python] PyQt로 제작한 파일 exe파일로 만들기
개발공부/Python 2024. 12. 11. 09:09

python PyQt 파일 exe로 저장하기 1. PyInstaller 설치먼저, PyInstaller를 설치해야 한다. 터미널 또는 커맨드 프롬프트에서 아래 명령어를 입력하여 설치한다.pip install pyinstaller 2. .ui 파일을 .py 파일로 변환PyQt5 UI 파일(.ui)을 Python 코드로 변환하려면 pyuic5 도구를 사용해야 한다.pyuic5 -o mainUI.py ExceltoCSV.uiExceltoCSV.ui 파일을 Python 파일 mainUI.py로 변환하는 명령어이다. 3. PyInstaller로 EXE 파일 만들기이제 Python 코드 (main.py, mainUI.py, convert_to_csv 함수 등)를 EXE 파일로 변환할 수 있다. 터미널 또는 커맨드 ..