- 博客(6)
- 收藏
- 关注
原创 模拟进程调度
/*************************************************** 进程的调度算法 1.FCFS 2.SJF 3.RR t=等待+运行=完成-到达 w=t/运行 2007/6/26 Made by LG***************************************************/#include "io
2007-07-02 13:13:00 889
原创 设备管理
#include "iostream"#include "string"#include "vector"using namespace std;typedef struct node{ string ID; //进程名 string equipment; //申请的设备名 struct node *next; }PCB;typedef struct{ string
2007-06-06 21:25:00 815
原创 模拟文件目录
#include "iostream"#include "string"#include "ctime"using namespace std;typedef struct node{ int onepoint; //一个点 int twopoint; //两个点 char attribute; //属性 string name; //名字 struct node *lin
2007-06-06 21:24:00 892
原创 模拟PCB的plus版
#include "iostream" using namespace std;#define M_SIZE 200typedef struct node{ char ID[10]; struct node *next; int beg; int len;}PCB;typedef struct{ int beg; int len;}memory;void sorce(memory *
2007-04-08 22:05:00 843
原创 模拟PCB
#include "iostream" using namespace std;typedef struct node{ char ID[10]; struct node *next;}PCB;void login(char *username){ cout cin>>username; cout cout All Right Receive. By LG."}void
2007-04-08 22:03:00 733
转载 八个经典问题
简单的几个问题,体现着人生的大智慧。其实,很多时候我们都会范着这种简单的错误…… 问题一, 如果你家附近有一家餐厅,东西又贵又难吃,桌上还爬着蟑螂,你会因为它很近很方便,就一而再、再而三地光临吗? 回答:你一定会说,这是什么烂问题,谁那么笨,花钱买罪受? 可同样的情况换个场合,自己或许就做类似的蠢事。 不少男女都曾经抱怨过他们的情人或配偶品性不端,三心二意,不负责任
2006-12-29 16:43:00 676
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人