摘要:
实验任务4Vector.hpp源代码 1 #include <iostream> 2 #include <stdexcept> 3 4 template <typename T> 5 class Vector { 6 private: 7 int size; 8 T *vec; 9 public: 阅读全文
posted @ 2023-12-12 16:02
E5rgeXcJV1x5J
阅读(37)
评论(0)
推荐(0)
摘要:
实验任务3pets.hpp源码 1 #include <iostream> 2 using std::string; 3 class MachinePets { 4 private: 5 string nickname; 6 public: 7 MachinePets(const string s) 阅读全文
posted @ 2023-12-01 11:16
E5rgeXcJV1x5J
阅读(28)
评论(0)
推荐(0)