搜索资源列表
array_stu_mane
- 利用C#开发的一个简单的小学生管理程序,主要在于动态数组ArrayList的使用,这方面的初学者可以借鉴一下-The use of C# development of primary and secondary school students a simple management process, mainly due to the use of dynamic arrays ArrayList, the beginners can learn from you
23456787654321
- 问题一:设a[0:n-1]是已排好序的数组。请改写二分搜索算法,使得当搜索元素x不在数组中时,返回小于x的最大元素位置i和大于x的最小元素位置j,当搜索元素在数组中时,i和j相同,均为x在数组中的位置。 问题二:采用分治策略实现对n个元素进行排序的合并排序算法,其基本思想是:将待排序元素分成大小大致相同的2个子集合,分别对2个子集合进行排序,最终将排好序的子集合合并成为所要求的排好序的集合。 问题三:给定n个矩阵{A1,A2,A3,……,An},其中,Ai与Ai+1是可乘的,i=1,2,
3-2
- 利用动态数组实现矩阵的加法和减法运算-The use of dynamic array realization of matrix addition and subtraction
p03
- 1、编写并测试3×3矩阵转置函数,使用数组保存3×3矩阵 2、使用动态内存分配生成动态数组来重新完成上题,使用指针实现函数的功能。 3.写一个程序,定义基类车Vehicle,有Run,Stop等成员函数,由它派生出2个派生类:(自行车类)、(汽车类),从Bbicyce 、Motoracar派生出Motorcycle(摩托车类),它们都有Run,Stop等成员函数。注意虚函数的作用。 -1, to prepare and test the 3 × 3 matrix transpose
Mod_Realloc
- 采用FOR90语言编制的实现类似Delphi中Setlength的动态数组扩展功能。原有的FORTRAN90的动态数组在扩展时首先需要释放掉原有空间,即原有数据不能得以保存,而SetLength(A,N)则将A的长度动态设定为N,而保持原有数据。 这种动态数组在很多时候非常有用。-reallocated array a to newsize FORTRAN array while keeping the original data
Vector
- 典型的二叉树结构及其应用 还有二维动态数组-A typical binary tree structure and its application are two-dimensional dynamic array
lab_6
- 1.使用动态内存分配生成动态数组来完成3*3矩阵转置函数 2.应用string类定义字符串,实现两个字符串的连接 3.修改实验4中的选做实验中的people类。具有如下属性:姓名char name[11],编号char[7],性别char sex[3],生日birthday,身份证char id[16]。其中“出生日期”定义为一个“日期”类内嵌函数对象,用成员函数实现对人员信息的录人和显示。要求包括:构造函数和析构函数,开呗构造函数,内联成员函数,聚集。在测试程序中定义people类的对
imshow
- 实现VC读取BMP文件头,并转化成RAW格式,之后再利用原文件头和数据部分转存成BMP文件。其中用到了二维动态数组。-VC reads the BMP file header to achieve, and transformed into a RAW format, then re-use the original file header and data part of the conversion into a BMP file. Which uses a two-dimensional
varArr
- 自己写的例程,模拟USB初始化时枚举设备时动态数组的使用过程。只实现了其中的APPEND部分。其中SIZE为零的数组是其特点。-Write my own routine, simulation enumerate USB device initialization process of using the dynamic arrays. only part of APPEND. which is characterized by an array of zero size.
DynamicArrays
- symbian 动态数组讲解:由浅入深、图文并茂、初学者很容易理解-symbian explain dynamic arrays: Deep and illustrated, easy to understand for beginners
soft_stack_implement
- 原创,提供一种软件堆栈接口实现的思路,包括静态数组,动态数组和动态链表3种实现。-guidance of soft stack implemention,including static array,dynamic array, linkable table, etc.
MemoryAllocation
- 检验标识符是否合法(动态数组) 根据C语言标识符是否合法的程序 主要联系动态分配内存的使用-Memory Allocation
DynamicArray
- 完成满足上述接口的动态数组(Dynamic array)的程序; 需要遵循基本的编程规范和风格; 动态分配内存用C++的函数new/delete,不用malloc/free; 处理好动态分配的运用,不要出现内存泄漏; 了解C++类的构造函数和析构函数的作用; 熟悉C++类的写法(*.h, *.cpp); 各种情况考虑周到,不要出现程序崩溃; -
DArray-Template-better
- 现在实现的类已经比较好了,用户使用起来很方便。 但是,新的问题又出来了。 上述的动态数组只能存储double类型的数据。想象一下,另一个用户也想用这个动态数组,但是他处理的数据是int类型的,该如何办? 当然,你可以再写一个基于int类型的动态数组类,你发现,大部分的代码都不要改动,只要将类型double变成int即可。 如果另一个用户需要处理的是float类型,还有用户处理的是char类型的….该怎么办? 这样做的缺点很显然: ᠊
new-arrey
- 应用Visual c++ 生成的动态数组,包括整型,浮点型等数组类型-Application of Visual c++ dynamic array generated, including integer, floating-point array type, etc.
VC_based_high_speed_dynamic_array_source_code
- 基于VC的高速动态数组源程序代码VC-based high-speed dynamic array of source code-VC-based high-speed dynamic array of source code
SysArray
- 自己封装一个相对stl和vector数组模板类,名字叫做动态数组,希望给初学者有些启示-Their packaging and a relatively stl vector array template class, named the dynamic array, hopes for some inspiration for beginners
GIS1
- 利用VB读取给定格式的数据文件的方法以及利用动态数组方法对读入的数据进行存储和编辑-Of vb read given the format of the data file and an array of dynamic approach to read and edit data storage
array-new
- 一个类似于VC++ 中的CString的动态数组类集合,可以方便构造对象,对象长度可在访问时自动增加数组长度,且可实现数组的整体赋值。-A class that works like "CString" in VC++. It can be used to make a array anytime anywhere. And the array newed by the class can be 0 length and can grow automatically when program i
1111
- 数组实现循环链表 准备: 1. 队列空间的大小 maxsize 2.队首指针 front 3.队尾指针 rear 4.存储方式 动态数组 运算 出队,入队,初始化队列,创建队,释放队 5.a 动态数组的首地址-Prepared to achieve an array of circular linked list: 1. Queue space the size of the maxsize 2. Team first pointer front 3. Tail