본문 바로가기

IT/C++, MFC

(34)
[MFC] error C2664 문제 'const char [1]'에서 'LPCWSTR'(으)로 변환할 수 없습니다. 가리킨 형식이 관련이 없습니다. 변환하려면 reinterpret_cast, C 스타일 캐스트 또는 함수 스타일 캐스트가 필요합니다. 해결방안
C, C++ 학습 링크 1. C 초급용 추천서적 5종, C++ 초급용 추천서적 5종 https://hackr.io/blog/10-best-c-cpp-books 10 Best C and C++ Books for Beginners & Advanced Programmers Check out the top 5 C books and five best C++ books curated and recommended by the programming community. hackr.io https://stackoverflow.com/questions/388242/the-definitive-c-book-guide-and-list The Definitive C++ Book Guide and List This question attempts to c..
비쥬얼 스튜디오 단축키 https://demun.github.io/vscode-tutorial/ 시작 - Visual Studio Code tutorial 시작 비주얼 스튜디오 코드는 가볍고, 맥,리눅스,윈도우에서 모두 실행 가능하고, 무료인 코드편집기입니다. Sublimetext, Atom 에디터의 장점들을 잘 모아 만든 에디터입니다. 특히 서브라임텍스트 demun.github.io
[MFC] 파일 및 폴더 검색기 참고 사이트 1. https://balabala.tistory.com/m/40
CListCtrl, CFileDialog 클래스 참고 사이트 https://neohtux.tistory.com/47 [MFC] csv파일 경로를 ListControl에 채우기 1. MFC 기본 컨트롤러 배치 (Button, ListControl) MFCL 기본컨트롤 ListControl과 Button(버튼)을 추가해줍니다. 2. 두 컨트롤에 대해 변수 추가 해당 컨트롤을 우클릭하여 변수를 추가해줍니다. 리스트 컨트롤 neohtux.tistory.com https://mititch.tistory.com/107
LPCSTR, LPCTSTR, TCHAR LP: Long Pointer, 16bit LPCSTR: Long Pointer Constant STRing = const char* = 널 문자로 끝나는 윈도우 문자열 상수의 포인터 (const LPSTR) LPCTSTR: Long Pointer Constant T_STRing = const tchar* = 널 문자로 끝나는 유니코드 또는 윈도우 문자열 상수의 포인터 참고자료 1. https://learn.microsoft.com/en-us/windows/win32/winprog/windows-data-types Windows Data Types (BaseTsd.h) - Win32 apps The data types supported by Windows are used to define function..
16-1 : C++에서의 형 변환 연산 (static_cast: A 타입에서 B타입으로) #include using namespace std; class Car { private: int fuelGauge; public: Car(int fuel) : fuelGauge(fuel) {} void ShowCarState() { cout
C4996 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 참고자료 1. https://learn.microsoft.com/ko-kr/cpp/error-messages/compiler-warnings/compiler-warning-level-3-c4996?f1url=%3FappId%3DDev16IDEF1%26l%3DKO-KR%26k%3Dk(C4996)%26rd%3Dtrue&view=msvc-170