2009年8月2日
摘要: http://www.cnblogs.com/rezkk/archive/2009/02/07/1385781.html#include<string> #include<iostream> usingnamespacestd; string&replace_all(string&str,conststring&old_value,constst... 阅读全文
posted @ 2009-08-02 19:59 风在竹林 阅读(380) 评论(0) 推荐(0) 编辑
摘要: http://www.yichao.info/2009/05/%E7%94%A8find_if%E6%9F%A5%E6%89%BEvector%E5%86%85%E5%AF%B9%E8%B1%A1%E7%9A%84%E6%88%90%E5%91%98.html用binder2nd实现find_if算法中函数对像的参数传递用stl的find方法查找一个包含简单类型的vector中的元素是很简单的,例... 阅读全文
posted @ 2009-08-02 19:58 风在竹林 阅读(1646) 评论(0) 推荐(0) 编辑