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 VARIANT to std::stringHere's one way, not necessarily the best. In general, std::string doesn't play very well with VARIAN...
2014-07-16 andrew 64비트 윈도우를 프로그래밍 하기 위해서 알아야 할 모든 것들개발지식창고/유용한팁 2010/08/22 03:43 글이 너무 좋아서, 한 번 번역해 보았습니다. 혹시 향후에 64비트 윈도우에서 프로그래밍 하실 분은 그냥 한 번 참고해 보시기...