自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 使用引用重载

voidf(inti) { cout<<"int"; } voidf(int&i) { cout<<"int&"; } intmain() { intx=2; f(x); return0; } s...

2017-12-11 14:51:00 125

转载 我的排序算法

冒泡 时间复杂度 n*(n-1)/2 空间复杂度 1; voidsortint(int*a,intcount) { for(inttop=0;top<count;top++) for(intseek=top+1;seek<count;seek++) if(*(a+top)&...

2017-12-11 14:51:00 161

转载 linux 系统编程 进程

进程 进程号一般不重复使用 空闲进程 pid 0 ,内核运行的第一个进程 init pid 1. 内核搜索init的顺序,如果找不到,内核就会发出panic挂起 /sbin/init /etc/init /bin/etc /bin/sh 进程号最大值32768 老unix用16位计算pid,可以在/proc/kernel/pid_max的值修改 #incl...

2017-11-17 18:13:00 93

转载 linux 系统编程 文件IO

Fileio 1.open() 系统调用 头文件   #include <sys/types.h>   #include <sys/stat.h>   #include <fcntl.h> 原型   int open(const char * name,int flags);   int open(const char * nam...

2017-11-16 15:00:00 94

空空如也

空空如也

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

TA关注的人

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