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-09 andrew MFC 트레이 아이콘(Tray Icon)1. NOTIFYICONDATA 구조체 상태바 영역에 필요한 메시지 정보를 내포한다. typedef struct _NOTIFYICONDATAA { DWORD c...
2014-07-16 andrew Web Browser 컨트롤Web Browser Control FAQ 다음의 FAQ(FAQ라고 하기도 뭐 합니다만.. )는 제가 VC++ Q&A 에서 그 동안 봐왔던 Web Browser...