-
实验二
实验2 Task1: #include "t.h" #include <iostream> #include <stdexcept> #include <string> // static成员数据: 类内声明、类外初始化 const std::string T::doc{"a simple clas -
第五次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/ 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16751 学号:0102600224 姓名: -
第五次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16751 学号:0102600232 姓名:唐 -
第四章作业
1,删数问题。先使用字符串将需要进行操作的整数储存起来,接着使用循环从左向右扫描这个数字串,一旦发现某个数字比它右边相邻的数字大,就立刻删掉这个高位的较大数,直到长度满足输入要求。若循环过后没有删除数字,说明是递增数列,直接删掉最后一位。使用假设替换法证明我的方法的可行性,因为我删掉的是相邻比较以后 -
高级程序语言第五次作业
1 2 3 4 5 6 8.11编程练习 9.11编程练习 这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16751 -
实验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 源代码 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(); void adjust(int ratio); st -
实验二
实验任务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() -
实验2
实验一 代码 pragma once include class T { public: T(int x = 0, int y = 0); // 普通构造函数 T(const T &t); // 复制构造函数 T(T &&t); // 移动构造函数 ~T(); // 析构函数 void adjust -
高级语言程序设计课程第六次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16752 学号:0102600105 姓名:林 -
第六次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/ 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16752 学号:0102600224 姓名: -
实验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(); -
高级语言程序设计第六次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16752 学号:<0102600230> 姓 -
高级语言程序设计课程第五次个人作业
设计一个getchar和putchar联合使用的程序,使得程序遇到空格符时结束。 建立一个in.txt和out.txt,分别使用这两个文件进行重定位代替键盘输入和屏幕输出in.txt存放一些字符小写字符,大写字符,数字字符,程序将这些小写字符转换成大写字符,然后全部输出到out. 从键盘上输入数据并 -
高级语言程序设计第五次作业
作业:高级语言程序设计第五次作业 链接:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16751 姓名:洪达宇 学号:0102600233 题目: 第8章课后练习: 第9章课后练习: -
实验3
任务1 源代码task1.c #include <stdio.h> char score_to_grade(int score); int main() { int score; char grade; while(scanf("%d", &score) != EOF) { grade = scor -
实验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(); -
实验二
实验任务一 源码 t.cpp #include "t.h" #include <iostream> #include <stdexcept> #include <string> // static成员数据: 类内声明、类外初始化 const std::string T::doc{"a simple -
实验3
任务1 源代码1 点击查看代码 #include <stdio.h> char score_to_grade(int score); // 函数声明 int main() { int score; char grade; while(scanf("%d", &score) != EOF) { gra