摘要:
实验任务4: Vector.hpp源码: 1 #pragma once 2 #include <iostream> 3 #include <stdexcept> 4 using namespace std; 5 6 template <typename T> 7 class Vector { 8 p 阅读全文
摘要:
实验任务3: task3.cpp: 1 #include <iostream> 2 #include <vector> 3 #include "pets.hpp" 4 5 void test() { 6 using namespace std; 7 8 vector<MachinePets*> pe 阅读全文