搜索资源列表
mem
- 操作系统实验 动态内存分配 QT界面与C-memory allocation
mxn_malloc_topscore
- 编写一个能计算任意m行n列的二维数组中的最大值,并指出其所在行列下标的函数,利用该函数和动态内存分配方法,计算任意m个班、每班n个学生的某门课成绩的最高分,并指出具有该最高分成绩的学生是第几个班的第几个学生。-Write a two-dimensional array can calculate any m rows and n columns maximum value, noting that the underlying function in their ranks, the use o
bigview
- 在UNIX下经常要看大日志,vi又打不开,pg又不能一行一行翻,more就更是乱码了。于是自己做了个程序来查看日志,包括跳转,查找等。 自动识别汉字、全角字符、日文,真正做到光标随字移动 窗口化全屏浏览 宽行浏览,完全显示文本原始信息 支持查找、跳转、打印,任意滚屏 支持任意大小的文本,特别适合分析系统大日志 动态内存分配,系统资源消耗少 方便UNIX用户使用,完全仿真vi指令 支持custom命令安装,软件管理方便 内置指令帮助 -Under
vector-array
- 用vector(向量)实现动态开辟二维三维数组,这里vector中元素的内存的地址分配也有同双指针实现的二维数组有同样的特点。不过用vector的方法比使用双指针简单地多,分配内存空间时会更安全,数组初始化代码也更简单,所以本人建议使用STL中的vector来实现变长多维数组。-Implemented with vector (vector) opened a two-dimensional dynamic three-dimensional array, the memory address
memorry
- 编译原理课程实验:模拟首次适应动态分区存储管理方案中的内存分配与回收。-Compiler theory curriculum experiment: simulated first-fit dynamic storage management program memory allocation and recovery....
dynamic_array
- 利用c语言实现动态数组,使用malloc和realloc分配内存-use C++ accomplish dynamic array
PreAllocMemVSnot
- matlab编写的程序,未预分配内存下动态赋值耗时与预分配内存下赋值耗时的对比-matlab program written, not pre-allocated memory-consuming dynamic assignment under the assignment and time-consuming pre-allocated memory comparison
12.2
- c++ primer plus 第12章类和动态内存分配练习题2(主要是string类功能的设计)的答案-answer for c++ primer plus chapter 12
13.2
- c++ primer plus 第13章类继承练习题2(主要是派生类的应用,以及用动态内存分配来记录字符串)的答案-answer for chapter 13 for c++ primer plus
shili
- 动态内存分配和析构函数实例以及类的指针成员的的处理方法-Dynamic memory allocation and destructor instance and class pointer member handling methods.Dynamic memory allocation and destructor instance and class pointer member handling methods
lab3forTC
- 用C语言按照首次适应算法FF编制以动态分区管理方式进行内存分配和回收的程序,并测试通过。-Using C language in accordance with the first FF algorithm to adapt to the preparation of a dynamic regional management approach to memory allocation and recovery procedures and test.
shili
- 动态内存分配和析构函数实例以及类的指针成员的的处理方法-Dynamic memory allocation and destructor instance and class pointer member handling methods.Dynamic memory allocation and destructor instance and class pointer member handling methods
MEMORY
- C与内存相关的小例子,主要是动态内存分配的,malloc,alloc-C memory related small examples
综合测评工具
- 设计综合测评工具,用户输入学生课程及成绩信息,自定义综合测评公式,程序输出测评排序排序结果。 用户输入信息:学生信息表、课程信息表、课程成绩单 学生信息表:学号、班级、姓名 课程信息表:名称、学分、编码 课程成绩单:学号、成绩(每门课一份) 程序输出信息:测评结果(学号、姓名、综合测评排名) ④自选顺序表或链表完成实习内容。 ⑤采用动态方式分配内存
二重指针
- (1) 从静态存储区域分配。内存在程序编译的时候就已经分配好,这块内存在程序的整个运行期间都存在。例如全局变量,static 变量。 (2) 在栈上创建。在执行函数时,函数内局部变量的存储单元都可以在栈上创建,函数执行结束时这些存储单元自动被释放。栈内存分配运算内置于处理器的指令集中,效率很高,但是分配的内存容量有限。 (3) 从堆上分配,亦称动态内存分配。程序在运行的时候用malloc 或new 申请任意多少的内存,程序员自己负责在何时用free 或delete 释放内存。动态内存的生存期
矩阵运算程序
- 程序包含矩阵加减、转置和乘法的功能,用于学习动态内存分配、结构体、二级指针、文件I/O.(The program contains the function of matrix addition, subtraction, and multiplication, which is used to learn dynamic memory allocation, structure, two level pointer, file I/O)