数据加载中……

STL&&BOOST

STL Things
【原创】正确使用map的erase方法【修正版】
     摘要: stl map erase 正确使用方法详解。  阅读全文

posted @ 2013-05-03 11:29 Stone xin 阅读(1912) | 评论 (0)  编辑

实现简单的POST数据【修正版】
     摘要: 实现简单的POST数据【修正版】  阅读全文

posted @ 2012-12-12 17:46 Stone xin 阅读(400) | 评论 (0)  编辑

不定长参数格式化输出(支持中文字符)
     摘要: 不定长参数格式化输出(支持中文字符)  阅读全文

posted @ 2012-05-17 16:52 Stone xin 阅读(514) | 评论 (0)  编辑

Boost异步IO
     摘要: Boost异步IO  阅读全文

posted @ 2012-04-09 17:59 Stone xin 阅读(415) | 评论 (0)  编辑

fwrite函数应用
     摘要: fwrite函数应用  阅读全文

posted @ 2012-03-15 18:15 Stone xin 阅读(219) | 评论 (0)  编辑

CString、LPSTR、std::string、LPCSTR之间的转换
     摘要: CString、LPSTR、std::string、LPCSTR之间的转换利用MultiByteToWideChar、WideCharToMultiByte  阅读全文

posted @ 2011-12-01 14:43 Stone xin 阅读(2605) | 评论 (0)  编辑

boost::scoped_ptr作为成员变量的使用
     摘要: boost::scoped_ptr作为类成员变量初始化  阅读全文

posted @ 2011-07-25 13:46 Stone xin 阅读(771) | 评论 (2)  编辑

DepClearVector DepCopyVector
     摘要: 用模板的方式简化vector的删除和深度拷贝  阅读全文

posted @ 2011-07-05 11:16 Stone xin 阅读(200) | 评论 (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 阅读(3355) | 评论 (0)  编辑

利用STL中的sort对vector中指针元素的排序
     摘要: vector 指针 排序 sort  阅读全文

posted @ 2011-04-25 12:37 Stone xin 阅读(3403) | 评论 (0)  编辑

Cstring、String、double、int之间转换,精度控制
     摘要: Cstring、String、double、int之间转换,精度控制,格式化输出  阅读全文

posted @ 2011-03-31 12:10 Stone xin 阅读(4414) | 评论 (0)  编辑