-
实验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 -
实验5
实验五 实验任务一 代码 publisher.cpp #include <iostream> #include <string> #include "publisher.hpp" // Publisher类:实现 Publisher::Publisher(const std::string &nam -
实验五
任务一: 源代码task1.cpp #include <memory> #include <iostream> #include <vector> #include "publisher.hpp" void test1() { std::vector<Publisher *> v; v.push_b -
实验五
TASK1 publisher.cpp 点击查看代码 #include <iostream> #include <string> #include "publisher.hpp" // Publisher类:实现 Publisher::Publisher(const std::string &nam -
高级语言程序设计课程第十次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/15596 学号:102500326 姓名:罗炜 1 2 3 4 5 6 -
高级程序语言第10次
这个作业属于:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业的要求:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/15596 学号:102500416 姓名:王浩宇 第一题 第二题 第三题 第四题 -
实验五
实验一: 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 -
实验5 多态
实验任务1 源代码如下 publisher.hpp #pragma once #include <string> // 发行/出版物类:Publisher (抽象类) class Publisher { public: Publisher(const std::string &name_ = "") -
实验五
task1 publisher.hpp #pragma once #include<string> class Publisher{ public: Publisher(const std::string &name_=""); virtual ~Publisher()=default; publi -
高级语言程序设计第十次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/15596 学号 102500415 姓名 林帅前 1. 2. 3. 4