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-16 andrew Web Browser 컨트롤Web Browser Control FAQ 다음의 FAQ(FAQ라고 하기도 뭐 합니다만.. )는 제가 VC++ Q&A 에서 그 동안 봐왔던 Web Browser...
2014-08-07 andrew [MFC] 자식 dialog에서 부모 dialog변수 및 함수 참조먼저 자식 Dialog의 cpp파일에 부모 클래스의 헤더파일을 include 해줍니다. #include "ParentDlg.h" 변수의 경우는 ((CParentDlg...