搜索资源列表
大数的阶层
- 用数组存储一个大数的阶层。输入一个整数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
lzwnhuffman
- The LZW compression class i mplemented as a fixed length code which you can specify, the huffman algorithm implementation encodes a byte into a variable length bit array. Both of them can work with streams
IntegerSort
- 设计一个由自动测试排序算法性能(比较次数compare_count、交换次数exchange_count、探测次数probe_count)的测试类和排序类构成的类体系。 注:用一个类来描述一个排序算法,类中的sort方法通过调用比较、交换方法来实现数组排序。排序类放入一个特定的包MySort中。-Design a sorting algorithm by automatic test performance (compare the number of compare_count, the
f
- 设计一个类模板Find,用于对一个有序数组采用二分法查找指定数据的元素下标-The design of a class template Find, for an orderly array of data using dichotomy to find the elements specified subscr ipt
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
bbeee
- 定义并实现一个整数集合类int_set,集合类中cur_size表明当前集合中有几个整数,集合中最多含max_size个整数,存放集合元素的数组是动态的。要求提供的方法有: (1)增加一个整数到集合中; (2)从集合中去掉一个元素; (3)判断一个元素是否在集合中; (4)重载<<运算法,输入集合;重载>>运算符输出集合; (5)分别实现集合的交、并、差运算。 -Defined and implemented a se
Array
- 数组类的定义,自己写的,根据 清华大学数据结构上面改编的-Array class definition, write, according to the above data structure adapted Tsinghua University
blitz-0.9.tar
- blitz++库的相应源码 Blitz++提供了一个N维(1—10)的Array类,这个Array类以reference counting技术实现,支持任意的存储序(row-major的C-style数组,column-major的Fortran-style数组),数组的切割(slicing),子数组的提取(subarray),灵活的Array相关表达式处理。另外提供了可以产生不同分布的随机数(F,Beta,Chi-Square,正态,均匀分布等)的类也是很有特色的。 -blitz++
DynamicArray
- 完成满足上述接口的动态数组(Dynamic array)的程序; 需要遵循基本的编程规范和风格; 动态分配内存用C++的函数new/delete,不用malloc/free; 处理好动态分配的运用,不要出现内存泄漏; 了解C++类的构造函数和析构函数的作用; 熟悉C++类的写法(*.h, *.cpp); 各种情况考虑周到,不要出现程序崩溃; -
hii
- class a chopper.is also called as step down chopper mostly used in pv array characterstics for the mppt algorithms
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
Class-and-object-
- 1. 建立一个对象数组,内放5个学生的数据(学号、成绩)。请根据下面要求实现类中的功能,其他的函数根据需要创建。 (1). 用指针指向数组首元素,输出第1,3,5个学生的数据。 (2). 以对象指针作为形式参数找出5个学生中学习成绩最高者。注:函数名为max 2. 定义一个圆类,分别用以下方法计算圆的面积和周长。 (1). 用成员函数实现求圆的面积和周长。 (2). 用友元函数求圆的面积和周长 -(1) create an array of objects, put th
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.