摘要:
task3_1: 1 #include <iostream> 2 #include <fstream> 3 #include <array> 4 #define N 5 5 6 int main() { 7 using namespace std; 8 9 array<int, N> x {97, 阅读全文
摘要:
task4.cpp: #include <iostream> #include "实验五task4_pets.hpp" void play(MachinePets &obj) { std::cout << obj.get_nickname() << " says " << obj.talk() << 阅读全文
摘要:
task5: #pragma once #include <iostream> #include <cassert> #include <string> using namespace std; class vectorInt { public: vectorInt(int n0); vectorI 阅读全文
摘要:
task5 #pragma once #include <iostream> #include <string> #include <vector> #include <iomanip> using namespace std; class Info { public: Info(string ni 阅读全文
摘要:
#pragma once #include <iostream> #include <iomanip> #include <cmath> using std::cout; using std::endl; using std::setfill; using std::setw; using std: 阅读全文