摘要: #pragma once #include<iostream>#include<string>using namespace std; class Info {public: Info(string nickname1, string contact1, string city1, int n1) 阅读全文
posted @ 2022-10-20 21:21 cpp作业 阅读(18) 评论(0) 推荐(0) 编辑
摘要: #pragma once#include<iostream>#include<cmath>using namespace std;class complex {public: complex(double r = 0.0, double i = 0.0) :real(r), imag(i){} co 阅读全文
posted @ 2022-10-20 21:00 cpp作业 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 1 阅读全文
posted @ 2022-10-20 20:57 cpp作业 阅读(1) 评论(0) 推荐(0) 编辑
摘要: #include<iostream>using namespace std;class point{public: point(int x0=0,int y0=0); point(const point&p); ~point()=default; int get_x() const { return 阅读全文
posted @ 2022-09-30 13:04 cpp作业 阅读(15) 评论(0) 推荐(0) 编辑