摘要:
实验任务3 #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 #include<iostream> #include"pets.h" void play(MachinePets& obj) { std::cout << obj.get_nickname() << " says" << obj.talk() << std::endl; } void 阅读全文
摘要:
实验任务5: #include <iostream> #include "vectorInt.h" using namespace std; void test() { using namespace std; int n; cin >> n; vectorInt x1(n); for (auto 阅读全文
摘要:
实验任务5 #include"Info.hpp" #include<iostream> #include<string> #include<vector> int main() { string s1,s2= "continue"; int i = 0, n = 0; int const capac 阅读全文
摘要:
实验任务4 #include "Complex.hpp" #include <iostream> void test() { using namespace std; Complex c1(4,-3); const Complex c2(6.6); Complex c3(c1); cout << " 阅读全文
摘要:
实验任务2 #include<iostream> using std::cout; using std::endl; class Point { public: Point(int x0=0,int y0=0); Point(const Point& p); ~Point()= default; i 阅读全文
摘要:
https://www.cnblogs.com/zlaym/ 阅读全文