摘要: 一. 实验目的 可变分区分配是一种重要的存储管理思想,目前流行的操作系统采用的分段存储管理的基本思想就源自该方法。本实验的目的是通过编程来模拟一个简单的可变分区分配存储管理系统,经过实验者亲自动手编写管理程序,可以进一步加深对可变分区分配存储管理方案设计思想的理解。 二. 实验内容 (1)编程实现简 阅读全文
posted @ 2022-12-04 20:27 无心+之举 阅读(976) 评论(0) 推荐(0) 编辑
摘要: person.hpp #include<iostream> #include<iomanip> #include<string> #include<fstream> #include<vector> using namespace std; class Person{ public: Person( 阅读全文
posted @ 2021-12-12 11:16 无心+之举 阅读(40) 评论(3) 推荐(0) 编辑
摘要: 一、 task2程序源码: #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just 阅读全文
posted @ 2021-11-26 21:22 无心+之举 阅读(20) 评论(2) 推荐(0) 编辑
摘要: 实验内容4 Vector.hpp #include<iostream> #include<cassert> using namespace std; class Vector_int{ public: // Vector_int(int n); Vector_int(int n,int m); Ve 阅读全文
posted @ 2021-11-09 21:28 无心+之举 阅读(33) 评论(1) 推荐(0) 编辑
摘要: Info.cpp文件源码 #include<iostream> #include<string> #include<vector> using namespace std; class Info { public: Info(); Info(string nickname,string contac 阅读全文
posted @ 2021-11-03 00:55 无心+之举 阅读(25) 评论(3) 推荐(0) 编辑
摘要: Complex.hpp文件源码 #include<iostream> #include<cmath> using namespace std; class Complex { public: Complex(double a=0,double b=0):real(a),imag(b){}; Comp 阅读全文
posted @ 2021-10-25 21:41 无心+之举 阅读(27) 评论(3) 推荐(0) 编辑