自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (1)
  • 收藏
  • 关注

转载 realloc

reallocvoid * realloc ( void * ptr, size_t size );Reallocate memory blockThe size of the memory block pointed to by the ptr parameter is changed to the size bytes, expanding or reduc

2012-08-30 15:25:48 281

转载 virtual 关键字

Once a function is declared as virtual in a base class it remains virtual; nothing the derived classes do can change the fact that the function isvirtual. When a derived class redefines avirtu

2012-08-30 15:13:55 208

转载 STL remove 和容器的成员函数erase

remove不能从STL的“容器”中删除任何元素,要想删除元素必须配合容器的erase成员函数。(list的remove除外)。一般的惯用法是:vector v;v.erase(remove(v.begin(),v.end(),99),v.end);

2012-08-29 16:16:59 250

转载 STL sort

详细解说 STL 排序(Sort)详细解说 STL 排序(Sort)作者Winter详细解说 STL 排序(Sort)0 前言: STL,为什么你必须掌握1 STL提供的Sort 算法1.1 所有sort算法介绍1.2 sort 中的比较函数1.3 sort 的稳定性1.4 全排序1.5 局部排序1.6 nth_element 指定元素排序1.7 parti

2012-06-17 18:19:07 335

转载 C++ switch

switch语句在c或c++语言中是非常普通的一个语句了,而且我们也是经常用到的。而且我们使用的switch语句都是和case、default、break等语句一起使用的。switch语句的使用可以非常的简单,也可以非常的复杂,所以你可以看到下面的一些另类的使用。首先问一下的是:你知道switch文法是怎么定义的吗?学过《编译原理》的人都知道,我们要写某个语言的编译器就得定

2012-06-16 00:27:54 817

转载 What values do the I/O operators (<< and >>) return?

What values do the I/O operators (>) return?C++ allows you to define functions to associate with existing operators. The > operators, whose orginal meanings were bitwise left and right shift, have a

2012-05-10 14:48:29 288

转载 matlab 函数空定义

matlab函数输出可以为空,输入也可以为空如 function fuc_name(input)或:   function  fuc_name这种是可以直接运行的

2011-12-17 22:34:08 2593

转载 111205

C++允许将任何类型的指针赋给void*(这是void*的最初意图,它需要足够大,以存放任何类型的指针),但不允许直接将void*指针赋给任何其他类型的指针。(需要经过cast)

2011-12-05 09:46:02 185

MP3剪切工具

MP3剪切工具,可用来调整自己喜欢的mp3等格式的歌曲

2013-01-08

空空如也

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

TA关注的人

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