-
实验2
1.实验任务1 源代码 t.h #pragma once #include <string> class T { public: T(int x = 0, int y = 0); // 普通构造函数 T(const T& t); // 复制构造函数 T(T&& t); // 移动构造函数 ~T(); -
实验3
任务1 源代码1 点击查看代码 #include <stdio.h> char score_to_grade(int score); // 函数声明 int main() { int score; char grade; while(scanf("%d", &score) != EOF) { gra -
实验2
1. 实验任务1:简单类 T 本任务通过类 T 验证普通构造、复制构造、移动构造、析构、静态成员、友元以及 const 静态数据的用法。 t.h #pragma once #include <string> class T { public: T(int x = 0, int y = 0); T(c -
实验2
实验任务1 源代码 task1.cpp 点击查看代码 #include <iostream> #include <utility> #include "t.h" void test() { using std::cout; using std::endl; cout << "T info: " << -
实验3
实验3 任务1 截图 问题1:将分数分配到对应的等级;整形;字符型 问题2:char输入应当输入字符,不应为字符串;缺少break,无法跳出switch语句,导致最后输出均为E 任务2 截图 问题1:计算n这个数各个位数的和 问题2:可以;前者是迭代,后者是递归 任务3 截图 问题1:计算x的n次方 -
实验2
任务1 源代码 t.h 点击查看代码 #pragma once #include <string> class T { public: T(int x = 0, int y = 0); // 普通构造函数 T(const T &t); // 复制构造函数 T(T &&t); // 移动构造函数 ~T -
高级语言程序设计课程第六次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16752 学号:0102600121 姓名: -
实验3
实验3 实验任务1 问题1: 答:函数score_to_grade的功能是根据输入的分数生成对应分段的成绩等级,形式参数类型为int整数类型,返回值类型为char字符类型。 问题2: 答: error1:如上图所示,由于使用了 "" 双引号,输入类型与返回值类型char字符型不匹配,导致无输出。 e -
类和对象_基础编程1
面向对象程序设计 实验2 实验任务一 源码以及运行测试截图 t.h #pragma once #include <string> class T { public: T(int x = 0, int y = 0); // 普通构造函数 T(const T &t); // 复制构造函数 T(T &&t -
20242302 2026-2027-1 《网络与系统攻防技术》实验五实验报告
20242302 2025-2026-1 《网络与系统攻防技术》实验五实验报告 姓名:杨泽坤 学号:20242302 实验环境:Kali Linux(主机名 yangzekun,实验目录 ~/exp5-20242302)+ Windows 宿主机 1.基础知识 信息搜集是攻击链的第一步,按是否与目标 -
实验二
实验任务1 源代码: t.h #pragma once #include <string> class T { public: T(int x = 0, int y = 0); // 普通构造函数 T(const T &t); // 复制构造函数 T(T &&t); // 移动构造函数 ~T(); -
数据采集第三次作业
数据采集与融合技术-第三次作业 项目 内容 课程 2026数据采集与融合技术实践 作业要求 作业三 我的 Git 仓库 aarctic 学号姓名 102402110 姜思源 一、作业1代码与图片: Gitee文件夹链接:作业1 1.1 作业代码与运行结果 (1)实现思路 需求参数 题目给的限制:学号 -
数据采集第二次作业
第二次作业 本作业使用 Python 3.12,主要库为 urllib.request、BeautifulSoup、json 和 sqlite3。 作业1、中国气象网 7 日天气预报 解析过程 图中展示了中国天气网 7 日天气预报页面的抓包和元素分析过程。页面数据直接包含在服务器返回的 HTML 中 -
实验2
Task 1 1.运行截图 2.代码 t.h 点击查看代码 #pragma once #include <string> class T { public: T(int x = 0, int y = 0); // 普通构造函数 T(const T &t); // 复制构造函数 T(T &&t); / -
实验2
实验内容 实验任务1 源代码 t.h 点击查看代码 #pragma once #include <string> class T { public: T(int x = 0, int y = 0); // 普通构造函数 T(const T &t); // 复制构造函数 T(T &&t); // 移动 -
实验二
实验2 类和对象_基础编程1 任务1 t.h源代码 点击查看代码 #pragma once #include <string> class T { public: T(int x = 0, int y = 0); // 普通构造函数 T(const T &t); // 复制构造函数 T(T &&t) -
实验2 类与对象
任务一 源代码 t.h 点击查看代码 #pragma once #include <string> class T { public: T(int x = 0, int y = 0); // 普通构造函数 T(const T &t); // 复制构造函数 T(T &&t); // 移动构造函数 ~T -
数据采集第三次作业
环境说明:Windows 10 + Python 3.12.7(Anaconda)+ Scrapy 2.11.1 + MySQL 8.0.36; 完整代码仓库:https://gitee.com/z1785062/python-spider-homework (按作业分 作业1/、作业2/、作业3/ -
实验3
目录实验3task1task2task3task4task5task6task7 实验3 task1 代码 #include <stdio.h> char score_to_grade(int score); // 函数声明 int main() { int score; char grade; w -
实验2 类和对象_基础编程
任务1 项目源代码 t.h #pragma once #include <string> class T { public: T(int x = 0, int y = 0); // 普通构造函数 T(const T &t); // 复制构造函数 T(T &&t); // 移动构造函数 ~T(); /