摘要:
任务4 源码: 1 #pragma once 2 3 #include <iostream> 4 #include <stdexcept> 5 6 using namespace std; 7 8 // 模板类声明 9 template<typename T> 10 class Vector { 1 阅读全文
摘要:
任务3 源码: 1 #pragma once 2 3 #include <iostream> 4 #include <string> 5 6 using std::string; 7 8 9 class MachinePets { 10 public: 11 MachinePets(const st 阅读全文