摘要:
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 阅读全文
摘要:
pets.hpp源码 #include <iostream> #include<string.h> using namespace std; class MachinePets { private: string nickname; public: MachinePets(const string 阅读全文
摘要:
实验任务5 vectorlnt.hpp #pragma once #include<iostream> #include<cassert> using std::cout; class vectorInt { public: vectorInt(int n); vectorInt(int n, in 阅读全文
摘要:
实验任务5 Info.hpp文件源码 #include <iostream> #include <string> #include <iomanip> using namespace std; class Info{ public: Info(string name,string con,strin 阅读全文
摘要:
实验2.4 程序源码 Complex.hpp 源代码 #pragma once #include <iostream> #include <cmath> using namespace std; class Complex{ public: Complex(double a=0,double b=0 阅读全文