搜索资源列表
Dynamic-array-class
- 动态数组类,动态数组(Dynamic Array)类的封装练习-Dynamic array class, dynamic array (Dynamic Array) package practice
test
- 动态数组空间的分配问题 冒泡排序的基本实现问题-bubble sort
polynomial
- H11增强Polynomial类 (1) 以动态数组实现多项式类。多项式系数的最大上限为int数据类型能表示的最大整数,但在构建对象时不指定系数上限 (2) 对两个Polynomial类对象的运算,分别重载“+”“-”运算,并能够级联调用 (3) 重载“<<”操作符,并能级联调用。 (4) 重载赋值运算符“=”,思考为何必须重载该运算符,如果不重载会发生什么问题? -H11 Enhanced the Polynomial class (1) dynamic arr
arrayOfStudent02
- 仿照课堂案例学生数组类设计一个动态数组类,并封装必要的函数成员,编写主函数进行测试。-Modeled classroom case students an array of class design a dynamic array class and encapsulates the necessary function members to write the main function for testing.
dynsarray
- 本代码提供对动态数组的支持,在内存中程序将数据分块存放,避免了大块内存的申请。同时,与普通的双向链表不同,本代码提供了对内部数据的快速索引,大大提高了数据访问速度。-The code provides for dynamic arrays support program in memory data block stored, avoiding large memory applications. Meanwhile, different from ordinary doubly linked
extract-words-in-text-2-array-by-C
- 把文本中的词提取到一个动态数组中,其中一行只有一个单词。-extract words in a text file to a dynamic array by C language
111
- C++ 十进制长整数转换为16进制和8进制 vectror动态数组分配-Decimal long integer is converted to hexadecimal and octal vectror dynamic array allocation
1.2
- 动态数组的改进版本,改进了数组存取的效率,非常有教学价值。-An improved version of dynamic arrays, improving the efficiency of the array access, very educational value.
2010011219
- 将文件中的多项式写入链表,并通过链表保存,通过动态数组实现简单的运算。-Write a polynomial in the file list, and saved through the list, dynamic arrays through simple arithmetic.
sourse
- 用类实现“动态数组”的功能,要求能预存空间,不必总是对内存进行释放与申请-With the class to achieve " dynamic array" function, space requirements can be stored, do not always have the memory is released with the application
Dynamic--array1
- 动态数组接口 熟悉动态内存的操作原理及其分配和释放,学会使用new/delete; 赋值操作符号"="的重载,操作符(如”[]”)的重载;-Dynamic array
Dynamic-array-2-LQXQ
- 动态数组接口实验 增加了最大动态分配内存提高效率 重载操作符= [ ],了解C++封装特性-Dynamic array 2
construct_array
- 为节省内存空间,动态的构造数组,进行数据的存取,为建立动态数组的范例!-construct array example
Matri_Mul_
- 矩阵求逆的 初学者 可以看 还有动态数组的分配问题-Matrix inversion beginners can see
STL-set-container
- 关于C++的容器,vector之所以被认为是一个容器,是因为它能够像容器一样存放各种类型的对象,简单地说,vector是一个能够存放任意类型的动态数组-About C++ containers, vector reason is considered to be a container, the container is the same because it can be stored as objects of various types, simply put, vector is cap
infile
- 创建动态数组,读入列表数据,并在屏幕上显示出来,比较基础-Create a dynamic array, list data is read and displayed
sy8
- 动态数组的实现 设矩阵A,B,C都是3*3矩阵,矩阵元素为整数类型,要求: 1.3个矩阵都采用动态数组进行存储; 2.编写实现C=A+B的函数; 3.编写实现C=A*B的函数。-Set up to implement dynamic arrays matrices A, B, C are 3* 3 matrix, the matrix elements of type integer requirements: 1.3 matrices are used to store dyn
testGetArraySize
- 获取一个动态数组大小,注意运行环境必须是VC6.0条件下,在linux上经测试这种方法是行不通的,通常我们认为动态数组是无法获取的,但是了解过编译原理的人还是找出了获取的方法,本文给出具体代码-Gets a dynamic array size, pay attention to the environment must be running VC6.0 conditions, this method has been tested on linux does not work, we usua
rank
- C语言实现插入排序算法。 动态数组,长度任意输入-C language insertion sort algorithm. Dynamic array, the length of any input
CPPexam6
- 1. 编写并测试 3×3 矩阵转置函数,使用数组保存 3×3 矩阵。 2. 使用动态内存分配生成动态数组来重新完成上题,使用指针实现函数的功能。 3. 编程实现两字符串的连接。要求使用字符数组保存字符串,不要使用系统函数。 4. 使用 string 类声明字符串对象,重新实现上一小题。 5. 声明一个Employee 类,其中包括姓名、街道地址、城市和邮编等属性,以及change_name()和 display()等函数。display()显示姓名、街道地址、城市和邮编等属