tip for auto_ptr with C++ 1. how to test whether auto_pointer is null? if (!myPointer.get()) { // do not dereference here } 2. how to pass auto_pointer ? std::auto_ptr<class> ptr_class = std::auto_ptr( new class ); Share this:Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window) Related Posted on 2015-06-10 8:09 PM by andrew Comment 📂This entry was posted in C/C++
2014-07-23 andrew BSTR – char*간의 변환 및 BSTR에 대해…BSTR - char*간의 변환 #include <afxconv.h>void BSTRtoCHAR(char *Msg[], const BSTR conv) { USES_CON...
2014-08-09 andrew [MFC] – 다이얼로그 리사이징시 깜빡임dialog 창을 리사이징 할 경우, 내부의 컨트롤 등이 깜빡이는 현상이 생길 수 있다. 이럴 경우, 제일 먼저 dialog 속성을 확인햅자.....