摘要:
一. 实验目的 可变分区分配是一种重要的存储管理思想,目前流行的操作系统采用的分段存储管理的基本思想就源自该方法。本实验的目的是通过编程来模拟一个简单的可变分区分配存储管理系统,经过实验者亲自动手编写管理程序,可以进一步加深对可变分区分配存储管理方案设计思想的理解。 二. 实验内容 (1)编程实现简 阅读全文
摘要:
person.hpp #include<iostream> #include<iomanip> #include<string> #include<fstream> #include<vector> using namespace std; class Person{ public: Person( 阅读全文
摘要:
一、 task2程序源码: #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just 阅读全文
摘要:
实验内容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 阅读全文
摘要:
Info.cpp文件源码 #include<iostream> #include<string> #include<vector> using namespace std; class Info { public: Info(); Info(string nickname,string contac 阅读全文
摘要:
Complex.hpp文件源码 #include<iostream> #include<cmath> using namespace std; class Complex { public: Complex(double a=0,double b=0):real(a),imag(b){}; Comp 阅读全文