-
试验3
~~ 实验1 源代码 回答1 功能:把百分制分数转换成等级字符(90100→A,8089→B,7079→C,6069→D,其他→E)。 形参:int score;返回值:char。 回答2 双引号写错:"A" 是字符串(地址),不能用 char 变量存;应写成字符 'A'。 缺少 break:cas -
实验3
任务1 1.源代码 button.hpp 点击查看代码 #pragma once #include <iostream> #include <string> class Button { public: Button(const std::string &label); const std::str -
实验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( -
实验3
任务1 源代码 点击查看代码 button.hpp #pragma once #include <iostream> #include <string> class Button { public: Button(const std::string &label); const std::strin -
OOP 实验3
实验3 类和对象_基础编程2 任务1 源代码button.hpp 点击查看代码 #pragma once #include <iostream> #include <string> class Button { public: Button(const std::string &label); co -
实验3
任务1 button.hpp源代码 点击查看代码 #pragma once #include <iostream> #include <string> class Button { public: Button(const std::string &label); const std::string -
高级语言程序设计第六次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/ 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16752 学号:0102600202 姓名: -
第三次作业
一开始想不到怎么得到字符串的长度,在查询后了解到可以通过检测‘\0’间接测定 了解到FLT_DIG和DBL_DIG的作用 -
高级语言程序设计第三次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16749 姓名:黄羿尊 学号:0102600 -
第二次作业
这个作业属于哪个课程 https://edu.cnblogs.com/campus/zjlg/26rjjc 这个作业的目标 实现一个命令行文本计数统计程序。能正确统计导入的纯英文txt文本中的字符数,单词数,句子数。 姓名-学号 陈政羽-2024329301026 码云仓库https://gitee -
算法第三章作业
1.1 递归方程式和边界条件 设 a[i][j] 为格子费用,dp[i][j] 为从 (1,1) 走到 (i,j) 的最小费用。 dp[i][j]=a[i][j]+min(dp[i−1][j],dp[i][j−1]) 边界: dp[1][1]=a[1][1] 第一行: dp[1][j]=dp[1][ -
实验2
实验1 源代码 ~~ include <stdio.h> include <stdlib.h> include <time.h> define N 100 define CNT 5 int main() { int number; int i; srand(time(0)); // 以当前系统时间作 -
实验二
任务一 task1源代码 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 100 #define CNT 5 int main() { int number; int i; srand(time(0)); for( -
实验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(); // 析 -
实验3
验证性实验 1.实验任务1 task1.c源代码 点击查看代码 #include <stdio.h> char score_to_grade(int score); int main(){ int score; char grade; while (scanf("%d",&score)!=EOF){ -
实验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 -
实验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/16750 学号:032501208 姓名: -
高级语言程序设计第四次作业
作业:高级语言程序设计第四次作业 链接:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16750 姓名:洪达宇 学号:0102600233 前13个程序 第六章课后习题 第七章课后作业 -
高级语言程序设计第四次作业
高级语言程序设计第四次作业 这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/ 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16750 学号