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 MFC 꾸미기Dialog에 스크롤바 붙이기 http://www.codeguru.com/Cpp/W-D/dislog/scrolling/article.php/c1859 Read Resource (리...
2014-07-26 andrew Placing Dialog at the centerBOOL CTest11Dlg::OnInitDialog(){CDialog::OnInitDialog();CWnd* pWnd = GetDesktopWindow();CenterWindow...