摘要:
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, 1 阅读全文
摘要:
task4.cpp: #pragma once #include<iostream> #include<string> using namespace std; class MachinePets{ public: MachinePets(const string s) :nickname{ s } 阅读全文
摘要:
实验任务5: task5.hpp #pragma once #include<iostream> #define MAXSIZE 10000 using namespace std; class vectorInt { public: //构造函数与析构函数 vectorInt(int n); ve 阅读全文
摘要:
实验任务5: task5.hpp: #pragma once #include <iostream> #include <vector> #include <string> using namespace std; class Info{ public: Info(string name, stri 阅读全文
摘要:
实验任务4: task4.hpp: #pragma once #include<iostream> #include<math.h> using namespace std; class Complex { public: Complex() :real{ 0 }, imag{ 0 } {} ~Co 阅读全文