摘要:
实验任务三: task3_1.cpp: #include <iostream> #include <fstream> #include <array> #define N 5 int main() { using namespace std; array<int, N> x{ 97, 98, 99, 阅读全文
摘要:
实验任务四: pets.hpp: #pragma once #include<iostream> #include<string> std::string; using namespace std; class MachinePets { public: MachinePets(const stri 阅读全文
摘要:
实验任务5: vectorInt.hpp: #pragma once #include<iostream> #include<cassert> using namespace std; class vectorInt { public: vectorInt(int n); vectorInt(int 阅读全文
摘要:
实验任务五: Info.hpp: #pragma once #include<iostream> #include<string> #include<iomanip> using namespace std; class Info { private: string nickname, contac 阅读全文
摘要:
实验任务三: Employee.hpp: #pragma once #include<iostream> #include<string> #include<iomanip> using std::string; using std::cout; using std::endl; using std 阅读全文
摘要:
实验任务2源代码: #include<iostream> using std::cout; using std::endl; class Point { public: Point(int x0=0, int y0=0); Point(const Point& p); ~Point()=defaul 阅读全文