文件系统实验精要.docVIP

  • 0
  • 0
  • 约2.53万字
  • 约 23页
  • 2017-04-18 发布于湖北
  • 举报
#includestring.h #includestdlib.h #includeiostream.h #includeiomanip.h #if _MSC_VER1000 #pragma once #endif //_MSC_VER1000 extern int disk_block[10000]; extern int disk_empty; typedef struct UFD { //存储文件信息 char name[10]; //文件名 int attribute; //属性 int length; //长度 int a[10]; //为文件本身分配10个空间 int *p1; //一级索引,100个空间 int (*p2)[100]; //二级索引,100*100个空间 struct UFD *next; }UFD; typedef struct DIR { //存储目录信息 DIR* above; //上一结点 char name[10]; int length; DIR *nex

文档评论(0)

1亿VIP精品文档

相关文档