搜索资源列表
大数的阶层
- 用数组存储一个大数的阶层。输入一个整数n,先求出n!占用的位数。动态开辟bits位数组,用适当方法把n!的值存储到数组里去-storage arrays with a majority of the class. The importation of an integer n, first obtained n! The median occupancy. The median opening bits dynamic group, the use of appropriate means, n
removeDuplicates2
- 上课的作业,是除去数组中的重复元素,利用数据结构常用算法-class operation is to remove duplication of array elements, the use of commonly used data structures Algorithm
IntegerSort
- 设计一个由自动测试排序算法性能(比较次数compare_count、交换次数exchange_count、探测次数probe_count)的测试类和排序类构成的类体系。 注:用一个类来描述一个排序算法,类中的sort方法通过调用比较、交换方法来实现数组排序。排序类放入一个特定的包MySort中。-Design a sorting algorithm by automatic test performance (compare the number of compare_count, the
checkarray
- 设计一个用于检查数组在使用时下标是否越界的类,如越界给出提示。(知识点:下标运算符的重载)。-Used to check the design of a current array subscr ipt is in the use of cross-border class, such as cross-border give tips. [Knowledge points: subscr ipt operator overloading].
TsinghuaCdatastructures
- 清华+殷人昆C++数据结构 幻灯片教学课件 通过本课程的学习,应达到知识和技能两方面的目标: 1、知识方面:从数据结构的类定义和对象的使用,以及存储表示和操作的实现两个层次,系统地学习和掌握常用的基本数据结构(包括数组、顺序表、多项式、字符串、链表、栈与队列、优先级队列、广义表、树与森林、二叉树、堆、集合、图、搜索结构、索引结构、散列结构等)及其不同的实现,了解并掌握分析、比较和选择不同数据结构、不同存储结构、不同算法的原则和方法,为后续课程的学习打好基础。 -Tsinghua Q
mfc_misc
- 非常用用的mfc数组、链表排序辅助类,解决MFC的类不能排序的遗憾-Mfc is used with an array, linked list to sort helper class, the class can not solve the MFC sort of regret
class4-ctree
- 由一线性数组生成一个完全二叉树,使用类描述,有详细注释,完整的输入输出-By a linear array generates a complete binary tree, use the class descr iptions, detailed notes, a complete input and output
queue
- 数据结构实现:队列(环形数组、链式实现)的基类实现。-Data structure implementation: queue (circular array, chain to achieve) is the base class implementation.
FrameWorkMatrix
- 计算骨架阵的算法,数组是动态分配的,用类写的,有很好的封装性和移植性。并且输入时从文本文件TXT读取的!-Skeleton matrix calculation algorithm, the array is dynamically allocated, with the class to write, have a good package and portability. And input from a text file TXT read!
data_struct6
- 数据结构课后设计题第六章 6.33③ 假定用两个一维数组L[1..n]和R[1..n]作为 有n个结点的二叉树的存储结构, L[i]和R[i]分别指 示结点i的左孩子和右孩子,0表示空。试写一个算法 判别结点u是否为结点v的子孙。-Data structure design question after class VI 6.33 ③ assumed with two one-dimensional array L [1 .. n] and R [1 .. n] as an
Array
- 数组类的定义,自己写的,根据 清华大学数据结构上面改编的-Array class definition, write, according to the above data structure adapted Tsinghua University
2010110
- 1. 用类编写并测试3×3矩阵转置函数,并且使用数组保存转置后的矩阵,要求使用动态内存分配方法。P206,例题6-5,6-17,6-26,27-1. Written and tested with a class of 3 × 3 matrix transpose function, and after using the array containing the transposed matrix, requires the use of dynamic memory allocation.
BigInt
- 超大整数类,支持加减乘除取余等功能,用数组实现-Large integer class to support Math modulo functions, with the array to achieve
4-4
- 将编号为0和1的两个栈存放于一个数组空间V[m]中,栈底分别处于数组的两端。这种双栈结构的类定义,并实现判栈空、判栈满、插入、删除算法。-Will be numbered 0 and 1 array of two stacks placed in a space V [m], the stacks were in the bottom ends of the array. This dual-stack structure of class definitions, and to achieve
basic-knowledge-of-data-structure
- 数据结构基本入门知识,共33个ppt,全是我上课的资料,现在拿来分享。其中有:线性表,栈队列递归,串数组广义表,数与森林,图,查找,排序等等。-Knowledge of the basic entry data structure, a total of 33 ppt, all the information I have class, and now to be shared. Including: linear form, the stack queue recursion, string
class-array
- a program that perfect for beginners of learning array in c++!
dynamic-array-distribution
- 在c++中利用类模板建立动态数组,实现数组的排序,插入,删除-In c++,use a dynamic array class template, realize the array sort, insert, and delete
One-dimensional-dynamic-array-class
- 一维动态数组类:定义和一维动态数组,包括重载数组运算符-One-dimensional dynamic array class: definition and one-dimensional dynamic array, including overloaded array operator
dir-biao
- 这是一个C++设计的动态数组顺序表类,帮助别人学习C-This is a dynamic array class C++ order table designed to help others learn C++
Matrix
- 自定义数组类,实现生成任意规模的数独文本文件。-A custom array class implementation of arbitrary size sudoku.
