摘要: 1 #include <iostream> 2 #include<cmath> 3 4 class Complex { 5 private: 6 double real, imag; 7 public: 8 Complex(double r = 0, double i = 0) : real{r}, 阅读全文
posted @ 2023-10-23 09:45 张帅yyds 阅读(6) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <string> #include <vector> #include <array> template <typename T> void output1(const T &obj) { for (auto i : obj) std::co 阅读全文
posted @ 2023-10-23 00:50 张帅yyds 阅读(6) 评论(0) 推荐(0) 编辑