분류 전체보기167 DeepStream 예제 2025. 3. 25. WSL Windows에 Linux설치 1. windows update2. cmd 관리자권한 3. wsl --list --online 4. wsl --install -d Ubuntu-24.045. wsl.exe -d Ubuntu-24.04 로 실행하여 username, password 설정.완료. 6. sudo apt update 2025. 3. 23. CPoint, CRect, CSize, CTime, CTimeSpan CPointCPoint() throw();CPoint(int initX, int initY) throw();CPoint(POINT initPt) throw();CPoint(SIZE initSize) throw();CPoint(LPARAM dwPoint) throw();CPoint pt1(10, 20);POINT pt{ 40,40 };CPoint pt2(pt);// ==, !=, +, -, +=, -= 등 제공.https://learn.microsoft.com/ko-kr/cpp/atl-mfc-shared/reference/cpoint-class?view=msvc-170 CPoint 클래스자세한 정보: CPoint 클래스learn.microsoft.com CRectCRect() throw();CRect(in.. 2024. 12. 30. CString, _tsetlocale, Format, LoadString ANSI 또는 유니코드 문자열을 지원하는 CString 클래스이다. 한국어 출력을 위해서 _tsetlocale(LC_ALL, _T("")); 과정이 필요하다.런타임 로캘을 설정하는 과정이다. CString 객체 생성, 초기화 다음 방식으로 테스트 할 수 있다._tsetlocale(LC_ALL, _T(""));CString str;str = _T("안녕하세요.");CString str1(_T("안녕하세요"));str.Format(_T("%d %d"), 100, 200);MessageBox(NULL, str, _T("test"), MB_OK);또한 문자열 테이블에서 문자열 리소스를 로드하려면 다음과 같이 할 수 있다. str.LoadString(IDS_TEST);str.Insert(0, _T("hi~ ")).. 2024. 12. 30. 이전 1 2 3 4 ··· 42 다음