-
第一章作业
编码规范说明 本学期遵循阿里C++规范,文件按类拆分命名,类名、函数名用驼峰法,成员变量加“m_”前缀。注释达20%以上,文件和函数头部标注关键信息,确保代码可读可维护。 《数学之美》读后感 对搜索引擎章节兴趣浓厚,惊叹数学模型对复杂问题的简化魔力。原来日常便捷的搜索功能,藏着深奥的数学逻辑,让我明 -
软件工程第三次作业-结对项目
队员一:计科3班 冯诗萍 3223004555 队员二:计科3班 吴业鸿 3223004257 github项目地址:https://github.com/fengshiping/second | 这个作业属于哪个课程 | https://edu.cnblogs.com/campus/gdgy/Cl -
实验2 C语言分支与循环基础应用编程
任务一: #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define N1 80 #define N2 35 int main() { int cnt; int random_major, random_n -
shiyan 2
实验任务一 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 5 #define N 5 6 #define N1 80 7 #define N2 35 8 int main(){ 9 int cnt; 10 int r -
实验1 现代C++编程初体验
任务1: 源代码task1.cpp #include <iostream> #include <string> #include <vector> #include <algorithm> template<typename T> void output(const T &c); void test -
实验1 现代C++编程初体验
任务1: 源代码task1.cpp // 现代C++标准库、算法库体验 // 本例用到以下内容: // 1. 字符串string, 动态数组容器类vector、迭代器 // 2. 算法库:反转元素次序、旋转元素 // 3. 函数模板、const引用作为形参 #include <iostream> # -
实验1
任务1 源代码task1.cpp 1 // 现代C++标准库、算法库体验 2 // 功能:使用reverse/reverse_copy/rotate操作string和vector,体验标准库便捷性 3 #include <iostream> 4 #include <string> 5 #includ -
实验2
任务1 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #define N 5 5 #define N1 80 6 #define N2 35 7 int main() { 8 int cnt; 9 int rando -
实验1 现代C++编程初体验
实验任务1: Task1源代码: #include <iostream> #include <string> #include <vector> #include <algorithm> template<typename T> void output(const T &c); void test1 -
作业二
实验一 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define N1 80 #define N2 35 int main() { int cnt; int random_major, random_no -
experiment2
Task1 问题1: srand(time(NULL));的作用:经过查询,发现这行代码用于初始化随机数生成器的种子,srand()是设置随机种子的函数,time(NULL)返回当前系统时间,将当前时间作为种子,确保每次程序运行时产生的随机数序列不同.如果去掉这行代码,发现每次运行时产生的"随机"学 -
高级语言程序设计第一次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/ 学号:102500307 姓名:汤晓彤 安装C程序的编译环境: 过程 -
实验一
实验任务1 #include <iostream> #include <string> #include <vector> #include <algorithm> template<typename T> void output(const T &c); void test1(); void te -
实验1 现代C++编程初体验
#include <iostream> #include <string> #include <vector> #include <algorithm> // 模板函数声明 template<typename T> void output(const T & c); void test1(); vo -
博客地址
https://www.cnblogs.com/Wenteen -
高级语言程序设计第一次作业
班级链接:https://edu.cnblogs.com/campus/fzu/gjyycx 作业要求链接:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13558 学号:102500327 姓名:李文涛 1.安装成功后的界面 2.编写代码 3 -
高级语言程序设计课程第四次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/gjyycx/homework/14577 学号:102500412 姓名:曾锦城 一.代码运行结果 -
高级语言程序设计课程第四次个人作业
这个作业属于https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在https://edu.cnblogs.com/campus/fzu/gjyycx/homework/14577 学号:102500430 姓名:黄华烨 运行以下程序给出程序结果(无需代码, -
实验4
实验任务1 task1.c源代码 #include <stdio.h> #define N 4 #define M 2 void test1() { int x[N] = {1, 9, 8, 4}; int i; // 输出数组x占用的内存字节数 printf("sizeof(x) = %d\n", -
实验四
test1 1.连续存放;值相同 2.连续存放;值相同;差值:000000000062FDC0-000000000062FDD0;从第一行首项到第二行首项的地址数的差 (疑问,为什么二维数组的地址和值给了16项) task2 (我看了半天也不知道到底是哪里输的有问题,但是不影响我理解这个过程) 1.