摘要: task3-1 cpp #include <iostream> #include <fstream> #include <array> #define N 5 int main() { using namespace std; array<int, N> x {97, 98, 99, 100, 10 阅读全文
posted @ 2022-12-06 22:43 张卉 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 实验任务3 hpp: #pragma once #include <iostream> // Complex declaration class Complex { public: Complex(double r = 0, double i = 0): real{r}, imag{i} {} Co 阅读全文
posted @ 2022-11-30 09:27 张卉 阅读(14) 评论(0) 推荐(0) 编辑
摘要: task5 hpp #pragma once #include<iostream> using namespace std; class vectorInt { public: vectorInt(int n); vectorInt(int n, int value); vectorInt(vect 阅读全文
posted @ 2022-11-08 21:52 张卉 阅读(3) 评论(0) 推荐(0) 编辑