2021年12月10日

摘要: 实验任务2: Person.hpp: #ifndef PERSON_HPP #define PERSON_HPP #include<bits/stdc++.h> using namespace std; class Person{ public: Person(){} Person(string n 阅读全文

posted @ 2021-12-10 17:13 Roiery 阅读(43) 评论(2) 推荐(0) 编辑


2021年11月25日

摘要: 实验任务2: 修改前task2.cpp: #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() 阅读全文

posted @ 2021-11-25 23:05 Roiery 阅读(19) 评论(2) 推荐(0) 编辑


2021年11月9日

摘要: 实验任务4: Vector_int.hpp: #ifndef VECTOR_INT_HPP #define VECTOR_INT_HPP #include<iostream> using namespace std; class Vector_int{ public: Vector_int(int 阅读全文

posted @ 2021-11-09 14:40 Roiery 阅读(14) 评论(2) 推荐(0) 编辑


2021年11月2日

摘要: 实验任务5: Info.hpp #ifndef INFO_HPP #define INFO_HPP #include<iostream> #include<iomanip> #include<string> using namespace std; class Info{ public: Info( 阅读全文

posted @ 2021-11-02 18:19 Roiery 阅读(38) 评论(3) 推荐(0) 编辑


2021年10月26日

摘要: #ifndef COMPLEX_HPP #define COMPLEX_HPP #include <iostream> #include <iomanip> #include <string> #include <cmath> using namespace std; class Complex{ 阅读全文

posted @ 2021-10-26 23:15 Roiery 阅读(27) 评论(3) 推荐(0) 编辑


Copyright © 2024 Roiery
Powered by .NET 8.0 on Kubernetes