-
实验5
实验任务1.1 问题1:find_min_max功能是找出X[]中的最小值最大值所在地址 问题2:分别都指向x[0]地址 实验任务1.2 问题1:功能是找到数组元素最大值 返回最大值所在地址 问题2:可以 实验任务2.1 问题1:数组s1大小为80 sizeof计算数组长度,strlen统计数组内字 -
实验5
实验任务1 源代码: 1 #include<stdio.h> 2 #define N 5 3 void input(int x[], int n); 4 void output(int x[], int n); 5 int* find_max(int x[], int n); 6 int main( -
实验五
任务1 void input(int x[], int n); void output(int x[], int n); void find_min_max(int x[], int n, int *pmin, int *pmax); int main() { int a[N]; int min, -
实验五
task1 点击查看代码 #include <stdio.h> #define N 5 void input(int x[], int n); void output(int x[], int n); void find_min_max(int x[], int n, int *pmin, int -
实验5
任务1 task1 1功能是将数组最小值的地址赋值给pmin,最大值的地址赋值给pmax. 2 都指向的是数组第一个数 task2 1功能是寻找数组中最大的数,返回的是输入的数据里面最大的数字 2不可以,return的是一个指针变量,这里应该返回的是指针变量所指的地址中的数字 任务2 task1 1 -
实验5
实验任务1 task1_1.c #include <stdio.h> #define N 5 void input(int x[], int n); void output(int x[], int n); void find_min_max(int x[], int n, int* pmin, i -
高级语言程序设计课程第八次个人作业
班级链接:https://edu.cnblogs.com/campus/fzu/gjyycx 作业链接:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/15590 姓名:林奕鹏 学号:102500313 作业内容 编写并运行书本第11章11.13 -
c++实验四
实验任务一: 问题1: 答:std::string course_name; ————存储课程的名称 std::vector grades; ————存储课程的多有成绩 std::array<int, 5> counts; ————记录各区间成绩的人数 std::array<double, 5> r -
OOP四
任务一: task1.cpp #include <iostream> #include <string> #include "GradeCalc.hpp" void test() { GradeCalc c1("OOP"); std::cout << "录入成绩:\n"; c1.input(5); -
实验四
任务一:源代码: 1 #include <iostream> 2 #include <string> 3 #include "GradeCalc.hpp" 4 5 void test() { 6 GradeCalc c1("OOP"); 7 8 std::cout << "录入成绩:\n"; 9 c -
高级语言程序设计课程第八次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/15590 学号:102500326 姓名:罗炜 11-1 11-2 1 -
实验4
GradeCalc.hpp 1 #pragma once 2 3 #include <vector> 4 #include <array> 5 #include <string> 6 7 class GradeCalc { 8 public: 9 GradeCalc(const std::strin -
实验04
任务一 GradeCalc.hpp #pragma once #include<array> #include<string> #include<vector> class GradeCalc { public: GradeCalc(const std::string &cname); void i -
实验4
实验任务1: 代码: GradeCalc.hpp 1 #pragma once 2 3 #include <vector> 4 #include <array> 5 #include <string> 6 7 class GradeCalc { 8 public: 9 GradeCalc(const -
高级语言程序设计第九次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/15595 学号:102500434 姓名:王志勇 1. 2. (感觉好 -
高级语言程序设计课程第九次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/gjyycx/homework/15595 学号:102500312 姓名:朱喻辰 声明一个结构体类型 -
高级语言程序设计课程第九次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/15595 学号:102500301 姓名:沙圣茗 1)声明一个结构体类 -
高级语言程序设计课程第九次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/gjyycx/homework/15595 学号:102500335 姓名:任柏宇 1. 2. 3. -
102302122许志安作业4
数据采集第四次作业 作业一:基于 Selenium + MySQL 的沪深 A 股股票数据爬取 要求: ▪ 熟练掌握 Selenium 查找HTML元素、爬取Ajax网页数据、等待HTML元素等内 容。 ▪ 使用Selenium框架+ MySQL数据库存储技术路线爬取“沪深A股”、“上证A股”、 “ -
实验5
task-1-1 源代码 #include <stdio.h> #define N 5 void input(int x[], int n); void output(int x[], int n); void find_min_max(int x[], int n, int* pmin, int*