摘要:
实验任务2 Person.hpp #ifndef PERSON_HPP #define PERSON_HPP #include<iostream> #include<string> #include<fstream> #include<iomanip> using namespace std; cl 阅读全文
摘要:
实验任务4 pets.hpp: #ifndef PETS_HPP #define PETS_HPP using namespace std; #include<iostream> #include<string> class MachinePets { public: MachinePets() { 阅读全文
摘要:
实验任务4 vector_int.hpp #ifndef VECTOR_HPP #define VECTOR_HPP #include<iostream> #include<cassert> using namespace std; class Vector_int { public: Vector 阅读全文
摘要:
Test 5 主函数task5.cpp #include<iostream> #include<string> #include<vector> #include"info.hpp" using namespace std; const int capacity = 100;//最大容纳人数为100 阅读全文
摘要:
Test3 头文件 #ifndef Complex_HPP #define Complex_HPP #include<iostream> class Complex { public: Complex() {} Complex(double x1) :real(x1), imag(0) {} Com 阅读全文