摘要: 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, 1 阅读全文
posted @ 2022-11-30 15:37 gosj 阅读(117) 评论(0) 推荐(0) 编辑
摘要: task3 pets.cpp #pragma once #include<iostream> #include<string> using std::cout; using std::endl; using std::string; class MachinePets { public: Machi 阅读全文
posted @ 2022-11-23 22:55 gosj 阅读(37) 评论(0) 推荐(0) 编辑
摘要: task5 #pragma once #define _CRT_SECURE_NO_WARNINGS 1 #include<stdlib.h> #include<iostream> #include<iomanip> using std::cout; using std::endl; using s 阅读全文
posted @ 2022-11-01 20:37 gosj 阅读(43) 评论(0) 推荐(0) 编辑
摘要: task5 Info.hpp #pragma once #include<iostream> #include<string> #include<iomanip> using std::cout; using std::endl; using std::setw; using std::left; 阅读全文
posted @ 2022-10-19 19:33 gosj 阅读(46) 评论(0) 推荐(0) 编辑
摘要: task4 Complex.hpp #pragma once #include<iostream> #include<cmath> using std::cout; using std::endl; class Complex { public: Complex(float x=0,float y= 阅读全文
posted @ 2022-10-12 23:28 gosj 阅读(26) 评论(0) 推荐(0) 编辑
摘要: task2: #include <iostream> using std::cout; using std::endl; class Point { public: Point(int x0 = 0, int y0 = 0); Point(const Point&p ); ~Point() = de 阅读全文
posted @ 2022-09-28 18:37 gosj 阅读(74) 评论(0) 推荐(0) 编辑