- yuanma 数据结构(严慰民)配套纯C代码
- find-the-numerical-value 在进行实时性最优计算时
- Genetic-Algorithm 遗传算法实现
- Infancechnifra Infrared image enhancement is a crucial technique for improving the quality of infrared images. And
- hash 本PPT介绍了数据结构里面关于哈希表的定义和使用等相关细节
- 玩转新唐M0_M4_V1.05 新唐m0/m4编程说明详细介绍了定时器;串口 中断 adc的使用 时钟调用(The new Tang m0/m4 programming explains the timer in detail; the serial port interrupts the use of the clock call of the ADC)
文件名称:cipanguanli
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:8.21kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
编写C语言程序,模拟UNIX磁盘空间管理中使用的分组链接法。
1.定义一个记录磁盘块号的堆栈S—free[10],以及记录栈中现有磁盘块数的变量S—nfree。
2.定义一个由40个元素构成的结构数组block[40]用作磁盘块存放。
struct size
{ int blocl[10]
}
struct blocd
{ struct size a[10]
//用于在空闲磁盘块号链中存放磁盘块号
}block[40]
3. 假设系统中文件的最大容量为100个磁盘块,且最多只有5个文件,定义一个由5个元素构成的结构数组file[5]用于记录各个文件占用的磁盘块,。
struct File
{ int fileblocd[100]
//用于记录分别分配给文件的磁盘块号
}file[5]
-Procedures for the preparation of C language to simulate the UNIX disk space used in the management of sub-link method. 1. The definition of a record number of disk blocks stack S-free [10], as well as the record of the existing disk block stack variable number of S-nfree. 2. The definition of a 40 element array structure consisting of block [40] for block storage disk. struct size (int blocl [10] ) struct blocd (struct size a [10] // used to free disk blocks in its store chain in its disk block) block [40] 3. the assumption that the system' s maximum capacity of paper disk blocks for the 100, and a maximum of only five documents, the definition of five elements of a structure consisting of an array of file [5] used to record all the disk blocks occupied by files,. struct File (int fileblocd [100] // used to record files were assigned to the disk block number) file [5]
1.定义一个记录磁盘块号的堆栈S—free[10],以及记录栈中现有磁盘块数的变量S—nfree。
2.定义一个由40个元素构成的结构数组block[40]用作磁盘块存放。
struct size
{ int blocl[10]
}
struct blocd
{ struct size a[10]
//用于在空闲磁盘块号链中存放磁盘块号
}block[40]
3. 假设系统中文件的最大容量为100个磁盘块,且最多只有5个文件,定义一个由5个元素构成的结构数组file[5]用于记录各个文件占用的磁盘块,。
struct File
{ int fileblocd[100]
//用于记录分别分配给文件的磁盘块号
}file[5]
-Procedures for the preparation of C language to simulate the UNIX disk space used in the management of sub-link method. 1. The definition of a record number of disk blocks stack S-free [10], as well as the record of the existing disk block stack variable number of S-nfree. 2. The definition of a 40 element array structure consisting of block [40] for block storage disk. struct size (int blocl [10] ) struct blocd (struct size a [10] // used to free disk blocks in its store chain in its disk block) block [40] 3. the assumption that the system' s maximum capacity of paper disk blocks for the 100, and a maximum of only five documents, the definition of five elements of a structure consisting of an array of file [5] used to record all the disk blocks occupied by files,. struct File (int fileblocd [100] // used to record files were assigned to the disk block number) file [5]
相关搜索: cipanguanli
cipanguanli
(系统自动生成,下载前可以参看下载内容)
下载文件列表
20062205梁宇龙_实验二.cpp
实验二 磁盘空间管理算法.doc
实验二 磁盘空间管理算法.doc
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
