进程死锁 银行家算法

进程死锁 银行家算法 #include "stdio.h" int Finish [10] = { 0 }; /* 进程最多10个 */int Max [10][10] = { 0 }; /* 资源数最多10个 */int Alloc [10][10] = { 0 };int Need [10][10] =...
默认分类 | 2011-04-24 04:59 | 阅读 924 次 | 评论 0 条

银行业务模拟课设 严蔚敏C 100%原创

/* 编译失败 多处相同语法错误 */ typedef struct{ int time; /* type=1 入列1, type=2 出列1, type=3 出列3 */ int type; }Event; /* 事件类型 */ typedef struct LNode...
默认分类 | 2010-02-12 00:20 | 阅读 845 次 | 评论 0 条

迷宫课设 100%原创 C描述

typedef struct StackNode{ ElemType data; StackNode *next;)StackNode, *LinkType; //结点类型,指针类型 typedef struct{ LinkType top; int size;}Stack; //栈类型 //栈的基本操作如下 Status InitStack(Stack &s){ s....
默认分类 | 2010-02-05 22:00 | 阅读 594 次 | 评论 0 条
文章分类
最新评论