11 2021 档案

摘要:实验任务2 基类Graph的成员函数draw()前面不加关键字virtual时 源代码: 1 #include <iostream> 2 #include <typeinfo> 3 /* run this program using the console pauser or add your ow 阅读全文
posted @ 2021-11-29 19:55 敲代码的喵 阅读(15) 评论(3) 推荐(0) 编辑
摘要:实验任务4 vector_int.hpp 1 #ifndef VECTOR_INT_HPP 2 #define VECTOR_INT_HPP 3 #include <iostream> 4 #include <cassert> 5 using namespace std; 6 class Vecto 阅读全文
posted @ 2021-11-05 20:29 敲代码的喵 阅读(35) 评论(3) 推荐(0) 编辑
摘要:实验任务5 程序源码 Info.cpp 1 #ifndef INFO_HPP 2 #define INFO_HPP 3 #include <iostream> 4 #include <iomanip> 5 #include <string> 6 using namespace std; 7 clas 阅读全文
posted @ 2021-11-02 14:09 敲代码的喵 阅读(32) 评论(4) 推荐(0) 编辑