摘要:
TASK3: #include <iostream> #include <fstream> #include <array> #define N 5 int main() { using namespace std; array<int, N> x{ 97, 98, 99, 100, 101 }; 阅读全文
摘要:
Task3: hpp. 1 #pragma once 2 #include<iostream> 3 using namespace std; 4 class Complex { 5 private: 6 double a, b; 7 public: 8 Complex(double x = 0, d 阅读全文
摘要:
task5 代码hpp #pragma once #include<iostream> #include<cassert> using namespace std; class vectorInt { private: int n, x;//n为数组长度,x为默认初始值 int* p;//数组 pu 阅读全文
摘要:
task5 #include<iostream> using namespace std; #include<iomanip> class Info { private: string nickname, contact, city; int n; public: Info(string a,str 阅读全文
摘要:
实验4 hpp #pragma once #include<iostream> using namespace std; class Complex { public: Complex(); Complex(double real0, double imag0 = 0); Complex(const 阅读全文