-
本设计的目的是通过设计和调试一个简单的文件系统,主要是模拟文件操作命令的执行,来模拟文件管理,使学生对主要文件操作命令的实质和执行过程有比较深入的了解,掌握它们...
本设计的目的是通过设计和调试一个简单的文件系统,主要是模拟文件操作命令的执行,来模拟文件管理,使学生对主要文件操作命令的实质和执行过程有比较深入的了解,掌握它们的基本实施方法。具体要求如下:
(1) 设计一个支持n个用户的文件系统,每个用户可拥有多个文件:
(2) 采用二级或二级以上的多级文件目录管理;
(3) 对文件应设置存去控制保护方式,如“只能执行”、“允许读”、“允许写等”;
(4) 系统的外部特征应接近于真实系统,可设置下述文件操作命令:
命 令 功 能 命 令 功 能
Create 建立文件 Read 读文件
Open 打开文件 Write 写文件
Close 关闭文件 Copy 复制文件
Delete 撤消文件 Directory 查询目录
(5) 通过键盘使用该文件系统,系统应显示操作命令的执行结果。-the purpose of this design is by designing and debugging a simple file system, main operation is simulated documents the execution of the order to simulate document management, enable students to the main document commands the substance and the implementation process of a more in-depth understanding, They grasp of the basic method. Specific requirements are as follows : (1) design a support n user file system, each user can have multiple files : (2) use of two or more than two multi-level directory management; (3) the document should be set up to deposit control and protection methods, such as "the only
- 2023-04-23 12:45:04下载
- 积分:1
-
休利特免费安装工具。简单而强大的支持pascal脚本,苏…
Inno Setup 是一款免费的安装制作工具。简洁而强大,支持 pascal 脚本,既有适合新手的脚本向导,也有适合高手的的脚本-Hewlett A free installation tools. Simple and powerful support pascal script, suitable for both novice script wizard, but also for experts in the script
- 2022-01-28 20:41:19下载
- 积分:1
-
拼图游戏希望对学习vc++的网友们有些帮助或是对做毕业设计的人们有些小小的帮助...
拼图游戏希望对学习vc++的网友们有些帮助或是对做毕业设计的人们有些小小的帮助-Jigsaw puzzle would like to learn vc++ The users some help or a graduation project for people to do some small help
- 2022-08-09 03:36:45下载
- 积分:1
-
Version 5.0 :* Add the Manufacturer infomation link on the St. art menu* Change...
Version 5.0:
* Add the Manufacturer infomation link on the Start menu
* Change the intel cpu s logo
* Fixed several bugs.-Version 5.0 :* Add the Manufacturer infomation link on the St. art menu* Change the intel cpu"s logo* Fixed Kaijing acidic bugs.
- 2022-04-23 22:55:39下载
- 积分:1
-
外观模拟分支定界 分支定界
外观模拟分支定界 分支定界 -appearance simulation branch delimitation of branch-and-bound branch d elimitation of branch-and-bound branch delimitation of branch-and-bound
- 2022-09-09 07:45:02下载
- 积分:1
-
字符串的强悍操作,值得学习
字符串的强悍操作,值得学习-string of tough operation, it is worth learning
- 2022-06-26 23:51:54下载
- 积分:1
-
可以编辑的msflexgrid的VB源码,密码为peng
可以编辑的msflexgrid的VB源码,密码为peng-can edit the msflexgrid VB source code, passwords peng
- 2022-08-18 03:37:01下载
- 积分:1
-
霍夫曼编码的C语言实现
霍夫曼编码的C语言实现-Huffman coding in C language Albion
- 2023-03-31 07:40:03下载
- 积分:1
-
alternative Russian box, above and below the interface of the game hidden Oh! Co...
另类俄罗斯方块,可以上下左右将游戏界面隐藏哦!很酷的。-alternative Russian box, above and below the interface of the game hidden Oh! Cool.
- 2022-02-05 20:46:48下载
- 积分:1
-
Find prime numbers prepared by screening the function: void sieve (bool isPrime...
编写筛选查找素数函数:
void sieve(bool isPrime[], int n)
其中isPrime[ ]为一个布尔型数组,n为数组大小。由于2是第一个素数,
所以设置isPrime[0]和isPrime[1]的值为false,并设置其余的元素初值为true。
然后对从4到n-1的每一个i,判断i是否能够被2整除,如果i能够被2整除,则设置isPrime[i]为false。
对从2到n/2的每一个可能的数值重复以上处理,当操作结束时,所有值为true的isPrime[i]所对应的i就是素数,它们将是从筛子中掉下来的。-Find prime numbers prepared by screening the function: void sieve (bool isPrime [], int n) which isPrime [] as a Boolean array, n is the size of the array. Because 2 is the first prime number, so set the isPrime [0], and isPrime [1] a value of false, and set the initial value of the remaining elements of true. And then from 4 to n-1 for each i, to determine whether i can be divisible by 2, if i can be divisible by 2, then set the isPrime [i] is false. From 2 to n/2 possible values for each one to repeat the above processing, when the operation ended, all the true value of the isPrime [i] corresponding to i is a prime number, they will be falling from the sieve in the past.
- 2023-03-02 04:45:03下载
- 积分:1