会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
cc
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2014年9月24日
C++ 11 move constructor 何时调用?
摘要: C++11支持移动语义。一:为什么需要移动语义和什么是移动语义我们先来看看C++11之前的复制过程。假设有下列代码:vector v1(1000000);//v1存放着100W个string,假设每个string长度为1000vector v2(v1);//使用v1初始化v2vector和strin...
阅读全文
posted @ 2014-09-24 16:20 withChengChen
阅读(2800)
评论(0)
推荐(0)
2014年9月21日
老外这样说英文
摘要: 谢谢:I do appreciated/Much appreciated.Cheers/Cheers mate/Cheers bro (mostly used)Lovely/That's greate/All right/okay/Brilliant/excellent/super/awesome ...
阅读全文
posted @ 2014-09-21 16:36 withChengChen
阅读(244)
评论(0)
推荐(0)
2014年9月4日
C++中 regex 匹配中文字符一例
摘要: #include#include#include//_Tusingnamespacestd;intmain(){/*strings0="学正楼";cout<<s0[0];cout<<s0[1]<<endl;*///wcout.imbue(locale("chs",locale::ctype));//...
阅读全文
posted @ 2014-09-04 21:10 withChengChen
阅读(5814)
评论(0)
推荐(0)
2014年9月3日
C变量作用域
摘要: #includeusingnamespacestd;int*returndie() // 除了地址为a的,a以后的都死了{inta[4]={1,2,3,4};returna;}intmain(){autoa=returndie();for(size_ti=0;i<4;i++){cout<<a[i...
阅读全文
posted @ 2014-09-03 23:11 withChengChen
阅读(134)
评论(0)
推荐(0)
vs2013 C++ error link2001
摘要: classGraph{protected:size_tnumVertex=0,numEdge=0;public:virtualsize_tn()=0;//返回顶点数virtualsize_te()=0;//返回目前的边数virtualintfirst(size_t)=0;//返回第一个neighbo...
阅读全文
posted @ 2014-09-03 17:32 withChengChen
阅读(348)
评论(0)
推荐(0)
2014年9月1日
Ubuntu中的锐捷——Mentohust安装及配置
摘要: Mentohust下载地址http://code.google.com/p/mentohust/downloads/list因为是Ubuntu64位,所以下载对应的最新的DEB软件包,双击deb包安装。安装成功后,一般并不能直接使用,当然可以你可以先尝试一下sudomentohust如果有提示错误,...
阅读全文
posted @ 2014-09-01 18:57 withChengChen
阅读(2174)
评论(0)
推荐(0)
2014年8月31日
orwell DEV C++对c++11编译选项的设定
摘要: 菜单栏里的 工具-》编译选项-》
阅读全文
posted @ 2014-08-31 09:35 withChengChen
阅读(818)
评论(0)
推荐(0)
2014年8月29日
图片图标素材网站集
摘要: 图标,各有特色http://findicons.com/http://www.easyicon.net/http://www.iconpng.com/https://www.iconfinder.com/做UI设计可能会用上的图片素材网站: Flickr图片社区: https://www.flick...
阅读全文
posted @ 2014-08-29 17:30 withChengChen
阅读(250)
评论(0)
推荐(0)
2014年8月27日
linux常用命令备忘
摘要: 20140827#sar -n DEV 1 10020140828##apt-get update # apt-get upgrade~~~~~~~~~~~~~~~~~~~~~~~~~~centos ~~~~~~~~~~~~~添加一个具有root权限的新用户#addusertommy//添加...
阅读全文
posted @ 2014-08-27 22:47 withChengChen
阅读(198)
评论(0)
推荐(0)
2014年8月24日
让vim显示空格,及tab字符 vim 多行注释(转)
摘要: 1、显示 TAB 键文件中有 TAB 键的时候,你是看不见的。要把它显示出来::set list现在 TAB 键显示为 ^I,而 $显示在每行的结尾,以便你能找到可能会被你忽略的空白字符在哪里。这样做的一个缺点是在有很多 TAB 的时候看起来很丑。如果你使用一个有颜色的终端,或者使用GUI 模式,V...
阅读全文
posted @ 2014-08-24 23:16 withChengChen
阅读(10278)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告