自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 操作系统:页面置换算法(c语言)

页面置换算法

2022-06-02 18:06:51 792

原创 计网:RIP路由协议(c语言)

#include <stdio.h>#include <windows.h>#include <time.h>typedef struct RoutTable{//定义路由表 unsigned char tn; //目的网络地址 unsigned char d; // 距离 char next; //下一跳路由 }RTable;void insertTable(RTable rt[], int *count, unsigned char t.

2022-05-20 14:42:27 1219

原创 计网:银行家算法(c语言)

#include <stdio.h>#define N 5#define M 3int p[N]={0,1,2,3,4};int r[M]={10,5,7};int Available[M]; //资源总剩余量 int Need[N][M]; //每个进程还需要多少资源 int Max[N][M] = { //一共需要多少资源 {7,5,3}, {3,2,2}, {9,0,2}, {2,2,2}, {4,3,3} }; int Allocation[N].

2022-05-18 14:07:39 141

原创 操作系统:进程调度实验(c语言)

#include <stdio.h> #include <stdlib.h> #define True 1 #define False 0 #define Q 1 //定义 PCB 的数据结构 typedef struct pcb{ unsigned char pid; //进程 id 号 unsigned char startTime; //开始时间 unsigned char serviceTime; //服务时间 unsigned char runn.

2022-05-08 14:03:39 1128

原创 计网:IP分组转发协议实验(c语言)

#include<stdio.h>#include<stdlib.h>#include<windows.h>#include<time.h>typedef struct ip{ unsigned char one; unsigned char two; unsigned char three; unsigned char four;}IP;typedef struct message{ IP sourceIP; IP targetIP.

2022-05-08 14:00:29 1557 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除