搜索资源列表
hugesort.zip
- 巨指针类型数据的快速排序法
本代码演示了平衡排序二叉树的实现,并用到了智能指针
- 本代码演示了平衡排序二叉树的实现,并用到了智能指针等技术-demonstration of the code balanced binary tree in order to achieve, and used an intelligent guide technology
0-1
- //产生0-1之间均匀分布一个随机数// /////////////////////////////////////////////////////////////// //传入参数:r--双精度实型变量指针,指向的单元存放随机数种子值//// //传出参数:p:产生0-1之间均匀分布一个随机数 -/ / 0-1 have a uniform distribution between random numbers / / ////////////////////////////////////
Needle
- 这是一个Offline工具程序,模仿钟表指针的转动位置,计算出指针在各个位置时的坐标值,并输出成C语言文件格式。-Offline This is a procedural tool, imitate watches the rotational position indicators, calculated in various indicators of the location coordinates and exported into C language files.
怎样判断一个指针指向的对象是否已经被析构
- 怎样判断一个指针指向的对象是否已经被析构,很好的学习C++的资料-how to decide a pointer at whether the target has been Destructors, good learning C information
burg
- 用Burg算法估计AR模型参数,进而实现功率谱估计. 形参说明: x——双精度实型一维数组,长度为n,存放随机序列。 n--整型变量,随机序列的长度。 p--整型变量,AR模型的阶数。 a--双精度实型一维数组,长度为(p十1)。存放AR模型的系数a(0),a(1),...,a(p)。 v--双精度实型指针,它指向预测误差功率,即AR模型激励白噪声的方差。 -with Burg algorithm estimates AR model parameters, ther
使用指针实现的自然归并排序.
- 使用指针实现的自然归并排序。是学习指针和数据结构的很好的资料,要的就快下吧。-use of the natural target to achieve its stock ranking. Yes learning targets and data structure of good information to the fast are you.
auto_-ptr
- 适合于C++初学者的一个程序,实现了只能指针,可以参考一下-suitable for beginners of a C program, realized the only indicator for reference
func_ptr
- 一个函数指针的例子,C++语言,我在初学C++时写的,可以参考一下-a function pointer example, C language, I was learning C, can take a look
Huffman 算法的不同实现
- ---- Huffman 算法的不同实现 本目录下的程序用8种不同的方式实现了Huffman编码算法,这8种方式分别是 * huffman_a 使用链表结构生成Huffman树的算法,这是最基本的实现方法,效率最低。 * huffman_b 使用《数据结构》(严蔚敏,吴伟民,1997,C语言版)中给出的算法,将二叉树存放在连续空间里(静态链表),空间的每个结点内仍有左子树、右子树、双亲等指针。 * huffman_c 使用Canonical
流文件的打开和关闭
- 为filename 所指定的文件名按mode 模式创建一个FILE结构数据区,并将该数据区的首地址赋值给FILE类型的指针变量fp.-for the filename specified by the file name to create a model mode FILE structure data, the data will be the first to address assignment FILE pointer types of variables fp.
Fig21_03
- 长整数类,数据成员有一个指针,一个整数size,可以存放100位以上整数,可以做加法乘法运算-long integer, data members of a pointer, an integer size, can be kept above 100 integer, the additive can do multiplication
count_ptr
- 自定义的智能指针类,可是多个指针共用对象,且不会造成内存泄露的问题-since the definition of smart pointer types, but a number of indicators shared object, and it will not disclose the cause memory problems
GridMatrix_xyz
- 十字链表,区分表头节点和普通节点,普通节点有上下左右四个指针域。-Cross, the head of a distinction between ordinary nodes and nodes, namely ordinary nodes around four target domain.
Guo_He
- 通过数组,指针和图形进行逻辑判断! 通过键盘操作,图形界面的小程序。-through the array, pointer and graphics logical judgment! Keyboard operation, a graphical interface small procedures.
cmoban
- 参照栈类模板的例子编写一个队列类模板class <T> Queue,私有成员包括:队首指针Front,队尾指针Tail,队列容积max。实现:构造函数Queue,析构函数,入队函数In,出队函数Out(每次出队,后面的元素自动前移一位),判队列空函数Empty。并分别用队列类模板定义int和float对象,调用各个成员函数-reference stack class template examples of the preparation of a class template cl
指针指南
- C/C++语言指针使用指南,超过80%的死机现象是由于指针操作不当引起的。因而学会正确使用指针是C/C++语言使用者非常必要的一项小技能-C / C language pointer using the guidelines, more than 80% of Vista is due indicator of improper operation. So learn how to correctly use is the target C / C language users very nec
西门子指针寻址讲解及程序
- 详细讲解了西门子PLC寻址特别是间接寻址,对几种寻址方式进行分析,另附指针寻址的程序一个以供大家分享。
C和指针的源代码
- 这是C和指针这本书上例题的源代码,用C写的,与书相配套,是学习的好资料。
main
- 智能指针的原理, 简单易懂, 不懂的同学可以看看源码, 调试一下。-The principle of the smart pointer, easy-to-read, the students do not look at the source, click Debugging.