-
实验5
任务1: #include <iostream> #include <string> #include "publisher.hpp" // Publisher类:实现 Publisher::Publisher(const std::string &name_): name {name_} { } -
实验5
1.实验任务1 Publisher.cpp 点击查看代码 #include <iostream> #include <string> #include "publisher.hpp" // Publisher类:实现 Publisher::Publisher(const std::string &n -
实验5
任务一: publisher.hpp 1 #pragma once 2 3 #include <string> 4 5 // 发行/出版物类:Publisher (抽象类) 6 class Publisher { 7 public: 8 Publisher(const std::string &na -
实验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 -
实验5 多态
实验一: 代码:task1.cpp: #include <memory> #include <iostream> #include <vector> #include "publisher.hpp" void test1() { std::vector<Publisher *> v; v.push_ -
实验5 多态
实验任务1 实验代码: publisher.hpp: #pragma once #include <string> class Publisher { public: Publisher(const std::string& name_ = ""); virtual ~Publisher() = d -
实验五
任务一: 源代码: 1 #include <memory> 2 #include <iostream> 3 #include <vector> 4 #include "publisher.hpp" 5 6 void test1() { 7 std::vector<Publisher *> v; 8 -
OOP-实验5
一、任务1 1、源代码: publish.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 学号:102500315 姓名:刘雨鉴 (1)编写一个程序 -
实验5
##实验任务1 #代码 publisher.hpp 1 #pragma once 2 3 #include <string> 4 5 // 发行/出版物类:Publisher (抽象类) 6 class Publisher { 7 public: 8 Publisher(const std::str -
高级语言程序设计课程第十次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/gjyycx/homework/15596 学号:102500335 姓名:任柏宇 1. 2. 3. -
c++ 5
##task1 #代码 1 #include <iostream> 2 #include <string> 3 #include "publisher.hpp" 4 5 // Publisher类:实现 6 Publisher::Publisher(const std::string &name_) -
高级语言程序设计课程第十次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/gjyycx/homework/15596 学号:102500312 姓名:朱喻辰 (1)编写一个程序 -
实验5
实验5 实验任务1 publisher.cpp #include <iostream> #include <string> #include "publisher.hpp" // Publisher类:实现 Publisher::Publisher(const std::string &name_) -
算法第四次作业
1.关于选点问题的贪心策略,就是按右端点大小将区间排序后从第一个小的开始选右端点,之后若端点在区间就找下一个区间,端点不在那个区间就把那个区间右端点选上以此类推直至最后一个区间。 2.关于算法是否满足贪心选择性质,用反证法可证,前提:把区间按右端点升序排好,第一个区间是(I_1),右端点是(b_1) -
高级语言程序设计课程第十次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx/ 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/gjyycx/homework/15596 学号:102500421 姓名:陈浩宇 (1)编写一个程 -
实验5
任务一: 1.源代码: (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 学号:102500301 姓名:沙圣茗 1)编写一个程序,将 -
高级语言程序设计课程第十次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/15596 学号:102500419 姓名:吴鸿益 (1)编写一个程序, -
实验五
实验任务1 源代码如下: publisher.hpp 点击查看代码 #pragma once #include <string> class Publisher { public: Publisher(const std::string &name_ = ""); virtual ~Publishe