摘要:
#include<iostream> #include<string> #include<fstream> #include <vector> #include"person.h" using namespace std; int main() { vector<person> phone_book 阅读全文
摘要:
#pragma once #include<iostream> #include<string> using namespace std; class car { public: car(string a="nothing", string b="nothing", int c=0) :maker( 阅读全文
摘要:
#pragma once #include <iostream> #include <cassert> class Matrix { public: Matrix(int n); // 构造函数,构造一个n*n的矩阵 Matrix(int n, int m); // 构造函数,构造一个n*m的矩阵 阅读全文
摘要:
#pragma once #include<string> using namespace std; class TextCoder { public: TextCoder(string qq); string encoder(); string decoder(); private: string 阅读全文
摘要:
Complex.h #pragma once #ifndef CIRCLE_H #define CIRCLE_H class Complex { public: Complex(); Complex(double a, double b); Complex(double a); Complex(Co 阅读全文