摘要:
task3.1 #include <iostream> #include <fstream> #include <array> #define N 5 int main() { using namespace std; array<int, N> x {97, 98, 99, 100, 101}; 阅读全文
摘要:
task4 hpp #pragma once #include<iostream> using namespace std; class MachinePets { private: string nickname; public: const string get_nickname() { ret 阅读全文
摘要:
实验任务5 #pragma once #include<iostream> #include<cassert> using namespace std; class vectorInt { public: vectorInt(int n); vectorInt(int n, int value); 阅读全文
摘要:
实验五 hpp #pragma once #include<iostream> #include<iomanip> #include<string> using namespace std; class Info { public: Info(string name0,string contact0 阅读全文
摘要:
实验4 complex.hpp #pragma once #include<iostream> #include<cmath> using namespace std; class Complex { public: Complex(double x0, double y); Complex(con 阅读全文
摘要:
实验2 #include <iostream> using std::cout; using std::endl; class point { public: point(int x0 = 0, int y0 = 0); point(const point& p); ~point() = defau 阅读全文