- 博客(3)
- 资源 (13)
- 收藏
- 关注
转载 warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
The Visual Studio compiler makes a big deal of int to bool conversions.For example, if you do: bool bPunct = ispunct(c); // causes warningYou'll get the warning. So how about this attempt at a f
2012-09-29 11:24:53 5524 6
原创 使用mongodb--第一天
下载: 在官网:http://www.mongodb.org/downloads根据系统下载,我的系统是win7 32位,自然下载了 http://downloads.mongodb.org/win32/mongodb-win32-i386-2.2.0.zip配置: 1、在D:盘新建 D:\mongodb, 并在 d:Mongodb下面新建文件夹 dat
2012-09-25 22:51:37 934
原创 字符串中指定字符串的替换
方法一:string& replace_all(string& str,const string& old_value,const string& new_value) { while(true) { string::size_type pos(0); if( (pos=str.find(old
2012-09-11 23:47:22 1105
log4cxx + apr + apr-util (linux) 安装使用
2011-10-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人