摘要:
Person.hpp #ifndef Person_HPP #define Person_HPP #include <iostream> #include<string> #include<iomanip> //使用std命名空间 using std::cout; using std::endl; 阅读全文
摘要:
观察验证实验 #include <iostream> #include <typeinfo> class Graph { public: void draw() { std::cout << "Graph::draw() : just as an interface\n"; } }; class R 阅读全文
摘要:
动态数组类 头文件 #ifndef VECTOR_INT_HPP #define VECTOR_INT_HPP #include<iostream> class Vector_int { public: Vector_int(int n);//指定数组对象大小 Vector_int(int n, i 阅读全文
摘要:
恢复内容开始 线上预约登记 头文件.hpp #ifndef INFO_HPP #define INFO_HPP #include<iostream> #include<string> using namespace std; class Order { private: string nicknam 阅读全文
摘要:
设计一个复数类 #ifndef Complex_HPP #define Complex_HPP #include<iostream> #include<cmath> using namespace std; class Complex{ private: double real; double im 阅读全文