自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Row Row Row your boat

自在而为

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

原创 【Linux】-h 和查找最大文件

ll列出文件夹中的文件,-h参数可以以人性化的方式显示出大小,GB,MB等做单位 列出某文件夹中大于3G的文件,方法如下 df列出磁盘大小

2014-12-10 15:32:18 725

原创 【opencv】Mat 数据操作

t = (double)getTickCount(); Mat img1(1000, 1000, CV_32F); for (int i=0; i<1000; i++) { for (int j=0; j<1000; j++) { img1.at(i,j) = 3.2f; } } t = (double)getTickCount() - t; printf("in

2014-12-10 15:26:17 516

原创 malloc和realloc

#include "stdio.h" #include "stdlib.h" int main() { int a[4] = {1,2,3,4}; int *p = (int *)malloc(3*sizeof(int)); p[0] = 0; p[1] = 1; p[2] = 2; for (int i = 0;i<3 ;i++) { printf("%d ",p[i]

2014-12-10 15:22:20 485

原创 【C++Primer】(一)

1.标准输入输出: #include using namespace std; int main() { cout<<"Input Two Numbers:\n"<<endl; int v1,v2; cin>>v1>>v2; cout<<"v1+v2 = "<<v1+v2<<endl; return 0; } 2.读入未知数目的输入: #include int main()

2014-12-10 15:16:43 323

空空如也

空空如也

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

TA关注的人

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