实验
实验二 类和对象
task1.cpp 方式一 t.h #ifndef T_H #define T_H #include <iostream> #include <string> using namespace std; class T { public: T(int x = 0, int y = 0); T(cons ......
实验二 类和对象
实验任务1 task1. cpp源码 t.h: 1 #ifndef T_H 2 #define T_H 3 4 #include <iostream> 5 #include <string> 6 7 using namespace std; 8 9 // 类T的声明 10 class T { 11 ......
实验二
task1 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define N1 374 #define N2 465 int main() { int number; int i; srand( time(0 ......
实验二-类和对象_基础编程2
task1 t.hpp 1 #pragma once 2 #include <iostream> 3 #include <string> 4 using namespace std; 5 6 class T { 7 public: 8 T(int x = 0, int y = 0); 9 T(con ......
实验2
实验任务1 代码 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 5 #define N 5 6 #define N1 374 7 #define N2 465 8 9 int main() 10 { 11 int numb ......
实验课二
一、task1 1,源代码 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 5 #define N 5 6 #define N1 374 7 #define N2 465 8 9 int main() 10 { 11 int ......
实验2
实验任务1 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define N1 374 #define N2 465 int main() { int number; int i; srand( time(0 ......
实验2 类和对象
实验任务3 Complex.hpp #pragma once #include <iostream> #include <cmath> class Complex { public: Complex(double r = 0, double i = 0) { real = r; imag = i; ......
实验2 C语言分支与循环基础应用编程
实验任务1 #include<stdio.h> #include<stdlib.h> #include<time.h> #define N 5 #define N1 374 #define N2 465 int main() { int number; int i; srand(time(0)); ......
实验2 C语言分支与循环基础应用编程
实验任务1 源代码 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 5 #define N 5 6 #define N1 374 7 #define N2 465 8 9 int main () 10 { 11 int ......
实验二
实验任务3: 1.complex.hpp 1 #pragma once 2 #include<iostream> 3 #include<cmath> 4 class Complex{ public : 5 Complex(double r=0,double i=0){ 6 real=r;imag=i ......
实验2 C语言分支与循环基础应用编程
1.实验任务1 task1源代码: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 5 #define N 5 6 #define N1 374 7 #define N2 465 8 9 int main() 10 { ......
实验二
Task1: 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 5 #define N 5 6 #define N1 374 7 #define N2 465 8 9 int main() 10 { 11 int number ......
实验二
1.test 1 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define N1 374 #define N2 465 int main () { int number; int i; srand(tim ......
实验2
实验任务1 代码 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 5 #define N 5 6 #define N1 374 7 #define N2 465 8 int main() 9 { 10 int numb ......
实验2 C语言分支与循环基础应用编程
1.实验任务1 task1源代码 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 5 #define N 5 6 #define N1 374 7 #define N2 465 8 9 int main() 10 { ......
数据采集实验三
作业① (1)实验要求:爬取指定网站的所有图片,通过scrapy框架分别实现单线程和多线程实现 码云链接 作业一码云链接 主要代码展示 在items.py定义数据 class WeatherItem(scrapy.Item): # define the fields for your item he ......
实验二测试结果——openssl API使用
sm3加密代码及测试截图 sm3代码:用sm3加密“20211115fanyiqing”生成摘要值作为输出。 1 #include <stdio.h> 2 #include <string.h> 3 #include "openssl/evp.h" 4 #include "err.h" 5 6 vo ......
数据采集与融合技术实践第三次实验
数据采集与融合技术实践第三次实验 Gitee:https://gitee.com/lululusc/crawl_project/tree/master/作业3 作业1 要求 指定一个网站,爬取这个网站中的所有的所有图片,例如中国气象网(http://www.weather.com.cn/(要求:指定 ......
实验2
实验结论 task1 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #define N 5 5 #define N1 374 6 #define N2 465 7 int main() 8 { 9 int numbe ......
实验2— C语言分支与循环基础应用编程
1.实验任务1 源代码 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 5 #define N 5 6 #define N1 374 7 #define N2 465 8 9 int main () 10 { 11 int ......
实验2 C语言分支与循环基础应用编程
摘要 一、实验目的 二、实验准备 三、实验内容 四、实验结论 task1 源代码: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #define N 5 5 #define N1 374 6 #define N2 4 ......
数据采集与融合技术实验作业三
作业①: 要求:指定一个网站,爬取这个网站中的所有的所有图片,例如:中国气象网(http://www.weather.com.cn)。使用scrapy框架分别实现单线程和多线程的方式爬取。 –务必控制总页数(学号尾数2位)、总下载的图片数量(尾数后3位)等限制爬取的措施。 主要代码 def pars ......
实验2 C语言分支与循环基础应用编程
实验任务1 task1.c 源代码: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 5 #define N 5 6 #define N1 374 7 #define N2 465 8 9 int main() 10 ......
实验2 c语言分支与循环基础应用编程
实验1 实验1的源代码 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 #define N 5 5 #define N1 374 6 #define N2 465 7 int main(){ 8 int number; 9 ......
第二次实验
SM3代码 include <stdio.h> include <stdlib.h> include <string.h> define SHL(x,n) (x<<n) define SHR(x,n) (x>>n) define ROTL(x,n) ((x<<n)|(x>>(32-n))) defi ......
实验二代码
SM3编译 #include <stdio.h> #include <stdlib.h> #include <string.h> #define SHL(x,n) (x<<n) #define SHR(x,n) (x>>n) #define ROTL(x,n) ((x<<n)|(x>>(32-n)) ......