摘要:
task2 Person.hpp #include<iostream> #include<string> using namespace std; class Person { public: Person()=default; Person(string n_name,string n_telep 阅读全文
摘要:
task2: 原: #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as a 阅读全文
摘要:
task4: vector_int.hpp: #include<iostream> using namespace std; class vector_int { public: vector_int(int n); vector_int(int n,int t); vector_int(const 阅读全文
摘要:
task5: #include"Info.hpp" #include<iostream> #include<vector> #include<string> using namespace std; static int i=0,t=0; int main() { vector<Info> audi 阅读全文
摘要:
task3 #include "Complex.hpp" #include <iostream> int main() { using namespace std; Complex c1(2, -3); const Complex c2(2.7); Complex c3(c1); cout << " 阅读全文