12 2023 档案

摘要:#pragma once #include<iostream> #include<stdexcept> using namespace std; template<typename T> class Vector { private: int size; T* ptr; public: Vector 阅读全文
posted @ 2023-12-17 14:01 Tantivy 阅读(19) 评论(0) 推荐(0)
摘要:#include<iostream> #include<string> using namespace std; class MachinePets { private: string nickname; public: MachinePets(const string s) :nickname{ 阅读全文
posted @ 2023-12-03 16:52 Tantivy 阅读(38) 评论(0) 推荐(0)
摘要:#program once #include<iostream> #include<string> using namespace std; class TextCoder{ private: string text; void encoder(); void decoder(); public: 阅读全文
posted @ 2023-12-01 08:14 Tantivy 阅读(30) 评论(0) 推荐(0)