摘要:
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,101}; ofstre 阅读全文
摘要:
1. task4.hpp #pragma once #include<iostream> #include<string> using namespace std; class MachinePets { public: MachinePets(const string s) :nickname(s 阅读全文
摘要:
实验任务五 vectorInt.hpp #pragma once #include<iostream> #include<cassert> using namespace std; class vectorInt { public: vectorInt(int n); vectorInt(int n 阅读全文
摘要:
实验五 info.hpp #pragma once #include<iostream> #include<string> using namespace std; class info { public: info(string ni0, string co0, string ci0, int n 阅读全文
摘要:
任务四 Complex.hpp #include<iostream> #include<cmath> using namespace std; class Complex{ public: Complex(double a=0.0,double b=0.0):real{a},imag{b}{}; C 阅读全文
摘要:
实验二: #include<iostream> using std::cout; using std::endl; class point { public: point(int x0 = 0, int y0 = 0); point(const point& p); ~point() = defau 阅读全文