搜索资源列表
Loki.rar
- Modern C++ Design 一书中实现的程序库,全面体现Policy Based Programming 的灵活,提供了诸多设计模式何smart pointer的灵活实现,强烈推荐!
0-1
- //产生0-1之间均匀分布一个随机数// /////////////////////////////////////////////////////////////// //传入参数:r--双精度实型变量指针,指向的单元存放随机数种子值//// //传出参数:p:产生0-1之间均匀分布一个随机数 -/ / 0-1 have a uniform distribution between random numbers / / ////////////////////////////////////
怎样判断一个指针指向的对象是否已经被析构
- 怎样判断一个指针指向的对象是否已经被析构,很好的学习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
func_ptr
- 一个函数指针的例子,C++语言,我在初学C++时写的,可以参考一下-a function pointer example, C language, I was learning C, can take a look
clonePtr
- a non-sharing smart pointer class that can be used with STL containers such as std::map, vector, list, set, and deque. The smart pointer has an assignment operator and greater than operator that call the target object s operator.-a non-sharing smart
流文件的打开和关闭
- 为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
Guo_He
- 通过数组,指针和图形进行逻辑判断! 通过键盘操作,图形界面的小程序。-through the array, pointer and graphics logical judgment! Keyboard operation, a graphical interface small procedures.
cstring
- 定义一个字符串类String,其私有成员为一个字符串指针。设计构造函数,拷贝构造函数,析构函数,设置新值函数Set, 打印成员值函数Print。借助此String类,将操作符"=="、">"、"<"的重载函数设置为String类的成员函数,实现对操作符"=="、">"、"<"的重载,使之能直接比较两个String类类型的字符串的大小,设计各种情况调用此三个重载操作符。-definition of a string type String, its private members as a str
4-SHIBAI
- c语言,求解五届龙哥库塔方程。用指针数组所做。很好.-c language, for five Mangge Cucuta equation. Done by a pointer array. Good.
ThreadBinaryTreeFindnextorFindprev
- 创建一棵二叉树,采用前序遍历的方法建立一棵树,传递的参数为一个指向结点的指针的指针,目的是为了解决传值的问题,输入@符号的时候,表示一棵子树结束线索化二叉树,寻找当前结点的后继结点,寻找当前结点的前驱结点,中序遍历 -create a binary tree using preorder before the establishment of a tree. transmission parameters of a point to the node pointer, the purpose
pointer-bubble-sort
- 冒泡排序,运用指针方法实现了冒泡排序Bubble sort using the method of realization of the pointer bubble sort -Bubble sort using the method of realization of the pointer bubble sort
C_C++pointer
- 指针是C和C++语言编程中最重要的概念之一,也是最容易产生困惑并导致程序出错的问题之一。利用指针编程可以表示各种数据结构, 通过指针可使用主调函数和被调函数之间共享变量或数据结构,便于实现双向数据通讯;并能像汇编语言一样处理内存地址,从而编出精练而高效的程序。指针极大地丰富了C和C++语言的功能。-Pointer is a C and C++ Language programming in the concept of one of the most important and most eas
paixu
- 用指向指针的 方法对n个整数排序并输出。要求将排序单独写成一个函数,n和各整数在主函数中输入,最后在主函数中输出。-Pointer with the pointer point to the method of sorting n integers and output. Requirements will be sorted into a separate function, n and the integer function in the main input, the final out
no-longer-afraid-of-the-pointer
- 介绍C语言指针的四方面的内容:指针的类型、指针所指向的类型、指针的值或者叫指针所指向的内存区、指针本身所占据的内存区,和指针的应用-Describes four aspects of pointers in C content: the type of pointer, pointer types, pointer value or name of the memory area pointer, the pointer memory area occupied by itself, and t
Pointer
- 链表的三种建立方式:正序、逆序以及有序建链表-how to set up pointer
Multilevel-pointer
- 一种多级指针的实现方法,开发环境为visual2010-Multilevel pointer
Reverse-the-string-with-the-pointer
- 用c语言编写的用指针将字符串逆序,运行环境vc6.0-C language prepared by the pointer string in reverse, the operating environment vc6.0