12 2024 档案

摘要:任务四: #ifndef VECTOR_HPP #define VECTOR_HPP #include <iostream> #include <stdexcept> template <typename T> class Vector { private: T* elements; size_t 阅读全文
posted @ 2024-12-22 21:35 枫羽秋茜 阅读(1) 评论(0) 推荐(0) 编辑
摘要:任务3: #ifndef PETS_HPP #define PETS_HPP #include <string> #include <iostream> class MachinePets { protected: std::string nickname; public: MachinePets( 阅读全文
posted @ 2024-12-08 23:12 枫羽秋茜 阅读(2) 评论(0) 推荐(0) 编辑