202213260018

实验六_OOP_张文瑞_202213260018

实验任务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: ......
202213260018 OOP

实验五_OOP_张文瑞_202213260018

实验任务3pets.hpp源码 1 #include <iostream> 2 using std::string; 3 class MachinePets { 4 private: 5 string nickname; 6 public: 7 MachinePets(const string s) ......
202213260018 OOP

实验四_OOP_张文瑞_202213260018

实验任务5TextCoder.hpp源码 1 #include<iostream> 2 #include<string> 3 4 using std::string; 5 6 class TextCoder { 7 private: 8 string text; 9 void encoder(); ......
202213260018 OOP

实验三_OOP_张文瑞_202213260018

任务1 源代码: 1 1 #pragma once 2 2 3 3 #include <iostream> 4 4 using std::cout; 5 5 using std::endl; 6 6 7 7 class Point { 8 8 public: 9 9 Point(int x0 = 0 ......
202213260018 OOP

实验二_OOP_张文瑞_202213260018

1、实验一 程序源码: #include <iostream> #include<cmath> class Complex { private: double real, imag; public: Complex(double r = 0, double i = 0) : real{r}, ima ......
202213260018 OOP
共5篇  :1/1页 首页上一页1下一页尾页