-
高级语言程序设计第六次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/ 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16752 学号:0102600112 姓名 -
高级语言程序设计第六次作业
作业:高级语言程序设计第六次作业 链接:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16752 姓名:洪达宇 学号:0102600233 (1)设计一个按值传递和按地址传递呈现不同效果的程序。 (2)编写函数fun(int m, -
实验3
TASK1: button,hpp #pragma once #include <iostream> #include <string> class Button { public: Button(const std::string &label); const std::string& get_l -
实验三报告
任务一 源代码: 点击查看代码 #include <stdio.h> char score_to_grade(int score); // 函数声明 int main() { int score; char grade; while(scanf("%d", &score) != EOF) { gra -
高级语言程序设计第六次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/ 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16752 学号:0102600202 姓名: -
试验3
~~ 实验1 源代码 回答1 功能:把百分制分数转换成等级字符(90100→A,8089→B,7079→C,6069→D,其他→E)。 形参:int score;返回值:char。 回答2 双引号写错:"A" 是字符串(地址),不能用 char 变量存;应写成字符 'A'。 缺少 break:cas -
实验3 类和对象_基础编程2
任务1 项目源代码 window.hpp #pragma once #include "button.hpp" #include <iostream> #include <vector> #include <algorithm> // 窗口类 class Window{ public: Window -
实验三
实验任务一 源代码: button.hpp #pragma once #include <iostream> #include <string> class Button { public: Button(const std::string &label); const std::string& g -
实验3
任务1 源代码 button.hpp 点击查看代码 #pragma once #include <iostream> #include <string> class Button { public: Button(const std::string &label); const std::strin -
实验3
任务一 源代码 button.hpp #pragma once #include <iostream> #include <string> class Button { public: Button(const std::string &label); const std::string& get_ -
实验3
任务一 源代码 点击查看源代码 button.hpp #pragma once #include <iostream> #include <string> class Button { public: Button(const std::string &label); const std::stri -
数据采集第三次作业
作业1 代码及结果 import requests from bs4 import BeautifulSoup import os import time import threading import re from urllib.parse import urljoin STUDENT_ID = -
实验2
任务一 一、源代码 //t.cpp #include "t.hpp" #include <iostream> #include <stdexcept> #include <string> const std::string T::doc{"a simple class sample"}; const -
实验三
实验3 类和对象_基础编程2 一、实验目的 理解类的组合(has-a)关系,掌握组合类的定义与使用方法。 区分深拷贝与浅拷贝,掌握动态内存管理场景下拷贝构造函数、析构函数、赋值函数的编写。 熟练使用std::vector、std::string容器,掌握迭代器与常用STL算法。 运用面向对象思想设计 -
实验3
任务1 源代码 button.hpp 点击查看代码 #pragma once #include <iostream> #include <string> class Button { public: Button(const std::string &label); const std::strin -
实验三
实验一 问题一 是组合关系,在window类中,buttons_被声明为std::vectorButtonbuttons_;这里使用的是值。Button对象的生命周期完全由Window对象掌控着,如果Window被销毁,里面的按钮也会跟着消失。 问题二 1.优点是可以直接外部调用,不需要依靠公有函数 -
实验3
任务1 1.源代码 #pragma once #include <iostream> #include <string> class Button { public: Button(const std::string &label); const std::string& get_label() c -
实验3
实验3 类和对象_基础编程2 任务1:组合类的定义和使用(GUI 窗口与按钮) 1. button.hpp #pragma once #include <iostream> #include <string> class Button { public: Button(const std::stri -
高级语言程序设计课程第七次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16753 学号:0102600218 姓名:曾 -
高级语言程序设计课程第六次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16752 学号:0102600123 姓名: