可变分区最先适应算法.docVIP

  • 6
  • 0
  • 约4.85千字
  • 约 6页
  • 2018-02-19 发布于河南
  • 举报
可变分区最先适应算法

#include iostream.h #include iomanip.h #define ERR_NOFREEAREA 1 #define ERR_NOADEQUACYAREA 2 #define ERR_ALLOCATED 4 #define ERR_NOJOBS 1 #define ERR_NOSUCHJOB 2 #define ERR_RECLAIMED 4 typedef struct tagUsedNode { long address; long length; int flag; //作业名 struct tagUsedNode *next; } USED_AREA , *USED_TABLE; typedef struct tagFreeNode { long address; long length; struct tagFreeNode *next; } FREE_AREA , *FREE_TABLE; //空闲区、作业区链表 USED_TABLE usedTable = NULL; FREE_TABLE free

文档评论(0)

1亿VIP精品文档

相关文档