登录
首页 » c++ » 动态分区主存的分配和回收

动态分区主存的分配和回收

于 2023-02-08 发布 文件大小:351.23 kB
0 146
下载积分: 2 下载次数: 1

代码说明:

在动态分区管理方式下采用不同的分配算法实现主存空间分配和实现主存回收。 本程序采用了一个struct free_table数据结构,里面包含分区序号(num)、起始地址(address)、分区长度(length)和分区状态(state)。还用了线性表的双性链表存储结构(struct Node),里面包含前区指针(prior)和后继指针(next)。一开始定义一条(含有first和end)的链,用开始指针和尾指针开创空间链表。然后分别按两种算法进行分配和回收。 运行环境:VC++6.0 window10

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • charu
    请输入非递减的有序序列,输入-1结束,再输入一个数字,插入其中,按照从小到大的顺序进行排列,完成这个程序(Please enter a non-decreasing ordered sequence, enter-1 end, and then enter a number, into which, in ascending order of arrangement, complete this program)
    2014-11-15 18:50:27下载
    积分:1
  • Student-MFC-VCPP-ODBC
    用MFC做的一个学生信息管理系统,有增加、删除、排序、筛选功能,系统通过ODBC方式连接数据库。 由于文库不支持RAR,故需要完整的程序以及数据库可以联系俺,希望对大家有帮助。 (To do with the MFC, a student information management system, increase, delete, sort, filter functions, the system through ODBC to connect to the database. The library does not support RAR, I therefore need to complete the program and database can be contacted, we hope to help.)
    2012-06-09 11:03:11下载
    积分:1
  • chap3_1
    专家PId控制,求三阶传递函数的阶跃响应,采用专家PID设计控制器(Expert PId control, and the third order transfer function of the step response,The use of expert PID controller design)
    2020-12-02 11:29:25下载
    积分:1
  • NIST_rand_test-sts-2-1-1_code
    NIST随机序列检测软件包sts 2-1-1C源码,附有中英文档说明(NIST rand test suite_sts 2-1-1,PS:have Chinese and English text.)
    2012-01-01 16:52:57下载
    积分:1
  • WebGIS
    包含了WebGis的基本功能。放大,缩小,缓冲区分析,最短路径实现等(include WebGis function)
    2020-07-03 12:20:02下载
    积分:1
  • matlab-temperature.m
    说明:  计算温度场分布的程序,希望对有关人员有所帮助,基于matlab(Calculated temperature distribution of the procedures in the hope the officers concerned be helpful, based on matlab)
    2011-03-28 10:53:00下载
    积分:1
  • PCSCReader
    底层调用了PCSC的通信库Winscard,可用于PC上读卡器与智能卡的通信(It calls the underlying communication library Winscard PC can be used on a PC to communicate with the smart card reader)
    2021-05-14 15:30:03下载
    积分:1
  • STR710_programm_full_MDK
    基于STR710的程序大全,编译环境为keil realview mdk!! (Guinness STR710-based procedures, the compiler environment keil realview mdk!!)
    2008-03-09 19:26:51下载
    积分:1
  • bahe__dia
    动态添加控件的演示代码,标住清楚,思路清晰,不可不看()
    2018-03-29 13:40:59下载
    积分:1
  • 加扰器和解扰器的转置行
    这一项目介绍加密的转置行的过程。 通过使用一个密钥可以进行加密和解密输入的文本。 对于正确的操作,关键必须包含在一个范围内的所有数字。
    2022-12-12 17:35:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载