摘要:
task3: task3_1.cpp #include <iostream> #include <fstream> #include <array> #define N 5 int main() { using namespace std; array<int, N> x {97, 98, 99, 阅读全文
摘要:
task3: task3_1.cpp #include <iostream> #include <fstream> #include <array> #define N 5 int main() { using namespace std; array<int, N> x {97, 98, 99, 阅读全文
摘要:
task4: task4.cpp #include <iostream> #include "pets.hpp" void play(MachinePets &obj) { std::cout << obj.get_nickname() << " says " << obj.talk() << st 阅读全文
摘要:
task5: vectorInt.hpp: #pragma once #include<bits/stdc++.h> #include<iomanip> using namespace std; class vectorInt{ public: vectorInt(int num):size{num 阅读全文
摘要:
TASK 5: info.hpp #pragma once #include<iostream> #include<string> #include<iomanip> #include<vector> using namespace std; class info{ public: info(str 阅读全文
摘要:
task4: Complex.hpp: 1 #pragma once 2 3 #include<iostream> 4 #include<cmath> 5 6 using std::cout; 7 using std::endl; 8 9 class Complex{ 10 public: 11 C 阅读全文
摘要:
https://www.cnblogs.com/MaskerQwQ/ 阅读全文
摘要:
实验任务二: #include<bits/stdc++.h> using namespace std; class Point{ public: Point(int x0=0,int y0=0); Point(const Point &p); ~Point()=default; int get_x( 阅读全文
|