摘要:
task4 代码 Vector.hpp 点击查看代码 #pragma once #include<iostream> #include<stdexcept> using namespace std; template <typename T> class Vector { public: Vecto 阅读全文
摘要:
任务三: 测试代码> pets.hpp 点击查看代码 #pragma once #include<iostream> #include<string> using namespace std; class MachinePets { public: MachinePets(const string& 阅读全文
摘要:
2.Gradeclc.hpp `#include include include include include include using std::vector; using std::string; using std::cin; using std::cout; using std::end 阅读全文
摘要:
1/1自定义了两个类:一个是button,一个是window 标准库中使用了string,vector button和string button和window string和window vector和window 1/2 button.close函数不适合添加inline,因为这个函数的功能是在引 阅读全文