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-08-09 andrew [MFC] – 키보드 후킹※ 훅킹(Hooking) : 이미 작성 되어 있는 코드의 ㅣ특정 지점을 가로 채서 동작 방식에 변화를 주는 일체의 기술 - 인터럽트 가로채기 기법, 메지시 가로채기 등등 ※ 메시지...
2014-08-12 andrew 정규식 사용법 [펌] boost 사용질문 ::#이 붙은 전화 번호 앞에는 %23을 붙이고 싶음.. 답코드 :: std::string result, list = "#011-222-3333"; const c...