自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 how to reload .profile in Linux

when you modify .profile in Linux system, you might find the follow commend useful:source ~/.profilethis will run the modified .profile again as if it is loaded when your system is booted up.

2016-06-30 11:13:06 602

原创 vim的设置文档【我的】

colorscheme eveningset fileencodings=utf-8,gb2312,gbk,gb18030set termencoding=utf-8set fileformats=unixset encoding=utf-8set tabstop=4set softtabstop=4set shiftwidth=4set expandtab

2016-06-22 12:20:35 314

原创 Rule of three

在编写class时,有三个元素:copy constructoroperator =destructor如果出现了其中一个,为了代码的健壮性和完整性,应该补上剩下两个元素,尤其是在我们需要deep copying的时候。举个例子来说明养成这个习惯的意义:假设在class中有一个指向heap某区域的指针,我们在destructor中把它delete了,那么如果我们没有定义copy

2016-06-20 16:46:58 808

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除