摘要:
任务4: 源代码: Vector.hpp #ifndef VECTOR_HPP #define VECTOR_HPP #include <iostream> #include <stdexcept> // For exceptions like length_error and out_of_ran 阅读全文
posted @ 2024-12-23 01:40
相梓文
阅读(19)
评论(0)
推荐(0)
摘要:
任务3:源代码: pets.hpp #ifndef PETS_HPP #define PETS_HPP #include <string> // 抽象类:MachinePets class MachinePets { public: // 带参数构造函数,初始化昵称 MachinePets(cons 阅读全文
posted @ 2024-12-09 01:56
相梓文
阅读(15)
评论(0)
推荐(0)
浙公网安备 33010602011771号