-
实验5
实验5 实验结论: 实验任务1: 源码: Publisher.hpp #pragma once #include <string> // 发行/出版物类:Publisher (抽象类) class Publisher { public: Publisher(const std::string &na -
团队作业5——测试与发布(Alpha版本)
一、作业基本信息 项目 内容 这个作业属于哪个课程 https://edu.cnblogs.com/campus/gdgy/Class34Grade23ComputerScience/ 这个作业要求在哪里 https://edu.cnblogs.com/campus/gdgy/Class34Grad -
实验5
实验任务1: publisher.hpp: 1 #pragma once 2 3 #include <string> 4 5 // 发行/出版物类:Publisher (抽象类) 6 class Publisher 7 { 8 public: 9 Publisher(const std::strin -
实验五
实验五 任务一: 代码部分: publisher.hpp: #pragma once #include <string> // 发行/出版物类:Publisher (抽象类) class Publisher { public: Publisher(const std::string &name_ = -
高级语言程序设计课程第十次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/15596 学号:102500301 姓名:沙圣茗 1)编写一个程序,将 -
实验5 多态
##实验任务1 publisher.hpp #pragma once #include <string> // 发行/出版物类:Publisher (抽象类) class Publisher { public: Publisher(const std::string &name_ = ""); // -
高级语言程序设计课程第十次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/15596 学号:102500323 姓名:黄铭昊 一、编写一个程序,将 -
实验05
1.实验任务1 publisher.hpp #pragma once #include<string> class Publisher{ public: Publisher(const std::string &name_=""); virtual ~Publisher()=default; pub -
实验五
实验任务一: #pragma once #include <string> // 发行/出版物类:Publisher (抽象类) class Publisher { public: Publisher(const std::string &name_ = ""); // 构造函数 virtual ~ -
实验五
实验任务1 源代码如下: publisher.hpp 点击查看代码 #pragma once #include <string> class Publisher { public: Publisher(const std::string &name_ = ""); virtual ~Publishe -
实验五
实验一: 1 #include <memory> 2 #include <iostream> 3 #include <vector> 4 #include "publisher.hpp" 5 6 void test1() { 7 std::vector<Publisher *> v; 8 9 v.p -
第四章算法作业
一、我的贪心策略 策略:将区间按右端点从小到大排序,遍历区间时,如果当前区间左端点大于上一个选点,则选择当前区间的右端点作为新点。 核心思想:每次选择能覆盖当前未覆盖区间中结束最早的区间的右端点。 二、证明算法满足贪心选择性质 贪心选择性质证明: 设排序后第一个区间为 [a₁, b₁]。 必要性:任 -
实验5
1.实验任务1 Publisher.cpp 点击查看代码 #include <iostream> #include <string> #include "publisher.hpp" // Publisher类:实现 Publisher::Publisher(const std::string &n -
实验5
一、实验结论 1. 实验任务1 程序源代码 Publisher.hpp #pragma once #include <string> // 发行/出版物类:Publisher (抽象类) class Publisher { public: Publisher(const std::string &n -
实验5 多态
实验任务1 实验代码: publisher.hpp: #pragma once #include <string> class Publisher { public: Publisher(const std::string& name_ = ""); virtual ~Publisher() = d -
实验5 多态
1. 实验任务1 publisher.hpp 1 #pragma once 2 3 #include <string> 4 5 // 发行/出版物类:Publisher (抽象类) 6 class Publisher { 7 public: 8 Publisher(const std::string -
高级语言程序设计课程第十次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/gjyycx/homework/15596 学号:102500335 姓名:任柏宇 1. 2. 3. -
高级语言程序设计课程第十次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/15596 学号:102500326 姓名:罗炜 1 2 3 4 5 6 -
高级语言程序设计第十次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/15596 学号:102500417 姓名:刘朝榕 设计程序 1编写一个 -
实验五
任务1: 问题1. (1) Publish存在纯虚函数talk() (2) 不能,抽象类无法实例化 问题2. (1) publish和use两个函数, virtual void publish() = 0 ; (2) 问题3. (1) Publish* (2) Book,Film,Music (3)