【原創】正確使用map的erase方法【修正版】
posted @ 2013-05-03 11:29 Stone xin 閱讀(2136) | 評論 (0) 編輯
STL&&BOOSTSTL Things【原創】正確使用map的erase方法【修正版】
摘要: stl map erase 正確使用方法詳解。 閱讀全文
posted @ 2013-05-03 11:29 Stone xin 閱讀(2136) | 評論 (0) 編輯 不定長參數格式化輸出(支持中文字符)
摘要: 不定長參數格式化輸出(支持中文字符) 閱讀全文
posted @ 2012-05-17 16:52 Stone xin 閱讀(609) | 評論 (0) 編輯 CString、LPSTR、std::string、LPCSTR之間的轉換
摘要: CString、LPSTR、std::string、LPCSTR之間的轉換利用MultiByteToWideChar、WideCharToMultiByte 閱讀全文
posted @ 2011-12-01 14:43 Stone xin 閱讀(2728) | 評論 (0) 編輯 boost::scoped_ptr作為成員變量的使用
摘要: boost::scoped_ptr作為類成員變量初始化 閱讀全文
posted @ 2011-07-25 13:46 Stone xin 閱讀(803) | 評論 (2) 編輯 DepClearVector DepCopyVector
摘要: 用模板的方式簡化vector的刪除和深度拷貝 閱讀全文
posted @ 2011-07-05 11:16 Stone xin 閱讀(224) | 評論 (0) 編輯 去除Warning C4251 “class 'std::vector<_Ty>' needs to have dll-interface to be used by clients of class”
摘要: 去掉警告C4251 導出實例化的一個標準模板庫 (STL) 類 導出包含一個 STL 的一個數據成員的類對象 閱讀全文
posted @ 2011-05-18 14:51 Stone xin 閱讀(3491) | 評論 (0) 編輯 利用STL中的sort對vector中指針元素的排序
摘要: vector 指針 排序 sort 閱讀全文
posted @ 2011-04-25 12:37 Stone xin 閱讀(3503) | 評論 (0) 編輯 Cstring、String、double、int之間轉換,精度控制
摘要: Cstring、String、double、int之間轉換,精度控制,格式化輸出 閱讀全文
posted @ 2011-03-31 12:10 Stone xin 閱讀(4540) | 評論 (0) 編輯
|
|