摘要:
task3 #include <iostream> #include <fstream> #include <array> #define N 5 int main() { using namespace std; array<int, N> x{ 97, 98, 99, 100, 101 }; o 阅读全文
摘要:
实验任务4 .hpp 1 #pragma once 2 3 #include <iostream> 4 #include <string> 5 6 using namespace std; 7 8 class MachinePets { 9 public: 10 MatinePets(const s 阅读全文
摘要:
实验任务5 .cpp void test() { using namespace std; int n; cin >> n; vectorInt x1(n); for (auto i = 0; i < n; i++) x1.at(i) = i * i; output(x1); vectorInt x 阅读全文
摘要:
实验任务5.hpp#pragma once #include<iostream> #include<string> #include<iomanip> using std::string; using std::cout; using std::endl; class Info { public: 阅读全文
摘要:
实验任务4 .hpp #pragma once #include <iostream> #include <string> #include <iomanip> #include <cmath> using std::cout; using std::endl; class Complex { pu 阅读全文
摘要:
实验任务2#include <iostream> #include <vector> using std::cout; using std::endl; class Point { public: Point(int x0 = 0, int y0 = 0); Point(const Point&p 阅读全文