南京邮电大学实验报告模版-2.doc

实 验 报 告 (20 / 2015 学年 第 学期) 课程名称 实验名称 实验时间 年 月 日 指导单位 指导教师 学生姓名 班级学号 学院(系) 专 业 实 验 报 告 实验名称 指导教师 实验类型 实验学时 实验时间 实验目的和要求 通过请求页式存储管理中页面置换算法模拟设计,了解虚拟存储技术的技术特点,掌握请求页式存储管理的页面置换算法设计实现下面算法,并二、实验环境(实验设备) Vc++6.0 实验原理及内容 实验四 Login用户登录 bool chklogin(char *users, char *pwd) { int i; for(i=0; i8; i++) { if( (strcmp(users,usrarray[i].name)==0) (strcmp(pwd,usrarray[i].pwd)==0)) return true; } return false; } Create创建文件 int create() { temp=initfile( ,0); cintemp-filename; cintemp-content; if(recent-child==NULL) { temp-parent=recent; temp-child=NULL; recent-child=temp; temp-prev=temp-n

文档评论(0)

1亿VIP精品文档

相关文档