---------------------------------------------------------------------- -- 각종 주석 찾기 -- HTML / XML 주석 \ -- Source Code 주석 -- 멀티라인 주석 /* .... */ /\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+/ -- 멀티라인 + 싱글라인 /* .... */ + // ... (/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+/)|(//.*) -- Oracle Comment /\*(?>(?:(?!\*/|/\*).)*)(?>(?:/\*(?>(?:(?!\*/|/\*).)*)\*/(?>(?:(?!\*/|/\*).)*))*).*?\*/|--.*?\r?[\n] (/\*([^*]..
inpect.exe 는 windows 에 기본 탑재된 툴로써 사용자가 지정한 UI element 와 element의 accessibility data 를 보여준다 자세한 내용은 다음의 URL에서 확인 - https://docs.microsoft.com/ko-kr/windows/desktop/WinAuto/inspect-objects - https://developer.microsoft.com/ko-kr/windows/downloads/sdk-archive 본인의 OS가 Win10 이고 Windows SDK가 설치되어 있다면 보통 C:\Program Files (x86)\Windows Kits\10\bin\[가장높은버전]\x64 경로에서 inspect.exe를 찾을 수 있다 - https://stackov..
Visual C++은 "멀티바이트"와 "유니코드"의 문자 처리가 있다. 멀티바이트 (MBCS = Multi Byte Character Set) : 영어 1바이트, 그 외의 문자 2바이트로 처리 유니코드 (WBCS = Wide Byte Character Set) : 모든 문자를 2바이트로 처리. (GCC는 4바이트로 처리) VS에서는 외부 라이브러리와의 호환성 등과 같은 이유로 멀티바이트와 유니코드를 서로 변경해야 할 때 "" L"" 는 심각한 노가다이므로 TEXT("")와 _T("")를 #define 한다. TEXT("")는 WinNT.h에서 #define, _T("")는 tchar.h에 #define 결론 : "", L"" => TEXT(""), _T("")로 입력하자 출처 : http://x108ze..
전형적인 윈도우 스타일. string과 wstring 사이에서 혼란을 겪지 않아도 되므로 편리함 사용법 - 아래 선언을 stdafx.h에 포함해서 사용 1) #ifdef _UNICODE typedef std::wstring tstring; #else typedef std::string tstring; #endif 2) typedef std::basic_string tstring; std::string은 std::basic_string의 인스턴스, std::wstring은 std::basic_string의 인스턴스이다. 따라서 std::basic_string로 가능함. 출처 : https://m.blog.naver.com/PostView.nhn?blogId=nine01223&logNo=22044310658..