-
102302126李坤铭作业1
作业1 用requests和BeautifulSoup库方法定向爬取给定网址(http://www.shanghairanking.cn/rankings/bcur/2020 )的数据,屏幕打印爬取的大学排名信息。 1)代码: 点击查看代码 import requests from bs4 impo -
experiment3
一、实验目的 能正确使用c语法规则定义、声明、调用函数 能正确编写递归函数 针对具体问题场景,能合理抽象出独立的功能模块,正确定义函数并使用,使得代码更具可读性、可维护性 二、实验准备 实验前,请复习第4章以下内容: 函数定义、声明、调用的语法规则 什么是形参、什么是实参,以及,参数传递和返回过程 -
实验二
任务1: 源代码task1.cpp #include "T.h" #include <iostream> void test_T(); int main() { std::cout << "test Class T: \n"; test_T(); std::cout << "\ntest frien -
实验3
`#define _CRT_SECURE_NO_WARNINGS include <stdio.h> char score_to_grade(int score); int main() { int score; char grade; while (scanf("%d", &score) != E -
102302124_严涛第一次作业
作业1. (1)代码及结果截图: 点击查看代码 import urllib.request from bs4 import BeautifulSoup import ssl # 解决SSL证书验证问题 ssl._create_default_https_context = ssl._create_u -
实验二
任务一 T.h #pragma once #include <string> // 类T: 声明 class T { // 对象属性、方法 public: T(int x = 0, int y = 0); // 普通构造函数 T(const T &t); // 复制构造函数 T(T &&t); // -
实验3
task1 整型 字符类型 `` 将输入的分数转换为对应的等级A、B、C、D、E,其中 90-100 为 A,80-89 为 B,70-79为 C,60-69分为 D,60下为 E case分支缺少break语句,会导致过度执行 task2 计算整数n的各位数字之和 能 循环实现 递归实现 task -
高级程序语言课程第三次个人作业
班级连接:https://edu.cnblogs.com/campus/fzu/gjyycx 作业链接:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13574 学号:102500328 姓名:刘宇桓 第四章4.8 第五章5.11 程序运输结果 -
高级语言程序设计课程第三次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13574 学号:102500419 姓名:吴鸿益 1. 编写并运行书本 -
高级语言程序设计课程第三次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13574 学号:102500333 姓名:陈俊荣 一、编写并运行书本 -
高级语言程序设计课程第三次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13574 学号:102500336 姓名:林陈帅 编写并运行书本第4章 -
高级语言程序设计课程第三次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13574 学号:102500424 姓名:陈俊杰 4.8 2. 5.1 -
实验二
任务一: T.h 1 #pragma once 2 #include <string> 3 // 类T: 声明 4 class T { 5 // 对象属性、方法 6 public: 7 T(int x = 0, int y = 0); // 普通构造函数 8 T(const T &t); // 复制 -
oop-实验2
task1 T.h 1 #pragma 2 3 #include<string> 4 5 class T{ 6 public: 7 T(int x=0,int y=0); 8 T(const T &t); 9 T(T &&t); 10 ~T(); 11 12 void adjust(int rati -
高级语言程序设计课程第三次作业
班级连接:https://edu.cnblogs.com/campus/fzu/gjyycx 作业链接:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13574 学号:102500325 姓名:李志鹏 一.第四章 第五章 示例程序 设计 反思 -
实验二
实验任务1 源代码 T.cpp #include "T.h" #include <iostream> #include <string> // 类T实现 // static成员数据类外初始化 const std::string T::doc{"a simple class sample"}; con -
实验二
实验任务一 T.h源码 #pragma once #include <string> class T { public: T(int x = 0, int y = 0); T(const T &t); T(T &&t); ~T(); void adjust(int ratio); void disp -
实验二
task1 T.h #pragma once #include <string> // 类T: 声明 class T { // 对象属性、方法 public: T(int x = 0, int y = 0); // 普通构造函数 T(const T& t); // 复制构造函数 T(T&& t); -
现代C++编程初体验
##实验任务1 ##代码 #pragma once #include <string> // 类T: 声明 class T { // 对象属性、方法 public: T(int x = 0, int y = 0); // 普通构造函数 T(const T &t); // 复制构造函数 T(T &&t -
实验3
task1 点击查看代码 #include <stdio.h> char score_to_grade(int score); int main() { int score; char grade; while(scanf("%d", &score) != EOF) { grade = score_