-
实验6
试验任务4 1 #define _CRT_SECURE_NO_WARNINGS 2 #include<stdio.h> 3 #include<string.h> 4 #define N 10 5 typedef struct { 6 char isbn[20]; 7 char name[80]; 8 -
实验六
task4 1 #include <stdio.h> 2 #include <stdlib.h> 3 #define N 10 4 5 typedef struct { 6 char isbn[20]; 7 char name[80]; 8 char author[80]; 9 double sal -
task6
task1 源代码 contestant.hpp #pragma once #include <iomanip> #include <iostream> #include <string> struct Contestant { long id; // 学号 std::string name; // -
实验6 文件I/O与异常处理
一、实验任务1 源代码task1 1 #pragma once 2 #include <iomanip> 3 #include <iostream> 4 #include <string> 5 6 struct Contestant { 7 long id; // 学号 8 std::string -
实验6
任务1: contestant.hpp #pragma once #include <iomanip> #include <iostream> #include <string> struct Contestant { long id; // 学号 std::string name; // 姓名 s -
实验6 文件I/O与异常处理
实验任务1 源代码: #pragma once #include <iomanip> #include <iostream> #include <string> struct Contestant { long id; // 学号 std::string name; // 姓名 std::strin -
实验六 文件I/O与异常处理
实验6 文件I/O与异常处理 实验任务1 源码 task1.cpp #include <algorithm> #include <iostream> #include <stdexcept> #include <vector> #include "contestant.hpp" #include " -
高级语言程序设计课程第十次个人作业
高级语言程序设计课程第十次个人作业 这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx/ 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/gjyycx/homework/15596 学号:1025004 -
高级语言程序设计第十次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/15596 学号:102500410 姓名:杜惟真 (1)编写一个程序, -
实验六
任务1: 代码: 1 #pragma once 2 #include <iomanip> 3 #include <iostream> 4 #include <string> 5 6 struct Contestant { 7 long id; // 学号 8 std::string name; // -
实验6
实验任务五 源代码: #include <stdio.h> #define N 10 typedef struct { char isbn[20]; char name[80]; char author[80]; double sales_price; int sales_count; } Book -
实验6
实验任务4 源代码 1 #include <stdio.h> 2 #define N 10 3 4 typedef struct { 5 char isbn[20]; 6 char name[80]; 7 char author[80]; 8 double sales_price; 9 int sa -
高级语言程序设计课程第十次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/gjyycx/homework/15596 学号:102500333 姓名:陈俊荣 (1)编写一个程序 -
算法第五章作业
1 1、最小重量机器设计问题的解空间是所有满足成本约束的部件 - 供应商分配方案(有序向量)集合,规模为 mⁿ(我自己不太会表达,这是思考后参考ai得出来的专业答复)。 2、解空间树是 n 层完全 m 叉树,而根到叶子的路径对应相对的分配方案。 3、要有目前正在遍历的部件序号 k、累计的成本c、累计 -
实验6
实验任务1: contestant.hpp: #pragma once #include <iomanip> #include <iostream> #include <string> struct Contestant { long id; // 学号 std::string name; // 姓 -
高级语言程序设计课程第十次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx/ 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/gjyycx/homework/15596 学号:102500421 姓名:陈浩宇 (1)编写一个程 -
实验5-多态
实验任务1源代码: 1 #pragma once 2 3 #include <string> 4 5 // 发行/出版物类:Publisher (抽象类) 6 class Publisher { 7 public: 8 Publisher(const std::string& name_ = "") -
高级语言程序设计第十次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/15596 学号:102500401 姓名:林含悦 1.编写一个程序,将 -
高级语言程序设计课程第十次个人作业
(1)编写一个程序,将一个文件的内容复制到另一个文件中。 (2)编写一个程序,统计一个文本文件中的字符数。 (3)编写一个程序,读取一个文本文件的内容,并在控制台上显示。 (4)编写一个程序,向一个文本文件的末尾追加一行文本。 未执行时的文本内容: 执行后: (5)编写一个程序,读取一个文本文件,删 -
实验五 多态
任务1 1.实验代码 #pragma once #include <string> // 发行/出版物类:Publisher (抽象类) class Publisher { public: Publisher(const std::string &name_ = ""); // 构造函数 virtu