摘要: 实验一 void setup() { Serial.begin(9600); pinMode(2, INPUT_PULLUP); pinMode(13, OUTPUT);}void loop() { int sensorVal = digitalRead(2); Serial.println(sen 阅读全文
posted @ 2022-10-16 22:32 东北最后深情 阅读(34) 评论(0) 推荐(0) 编辑
摘要: //实验内容: //在待查找序列中查询指定的数据元素 #include<stdio.h> #include<stdlib.h> //函数声明 int main() { //定义能存储5个整数的一维数组,初始化为3,5,6,8,9 int data[5]={3,5,6,8,9}; //提示用户输入要查 阅读全文
posted @ 2021-12-09 10:26 东北最后深情 阅读(43) 评论(0) 推荐(0) 编辑
摘要: /本次课任务,从文本文件中读入单词列表,然后显示在屏幕上 #include<stdio.h> #include<stdlib.h> #include<iostream> #include<cstring> using namespace std; //子函数声明 #define INITSIZE 1 阅读全文
posted @ 2021-12-07 07:33 东北最后深情 阅读(24) 评论(0) 推荐(0) 编辑
摘要: //本次课任务,从文本文件中读入单词列表,然后显示在屏幕上 #include<stdio.h> //定义结构体类型,用于表示单词类型typedef struct word{ char spell[100]; //定义spell成员,用于存储单词的英文拼写 char interpretation[50 阅读全文
posted @ 2021-11-23 08:58 东北最后深情 阅读(202) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> #include<stdlib.h> #include<string.h> #define INITSIZE 100 //定义结构体类型,用于表示单词类型 typedef struct word { char spell[100];//定义spell成员,用于存储 阅读全文
posted @ 2021-11-22 23:38 东北最后深情 阅读(168) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h>//子函数声明void Initiate(SqList &L);void Load(SqList &L) ;void Print(SqList L) ;//定义结构体类型,用于表示单词类型typedef struct word{ char spell[100]; / 阅读全文
posted @ 2021-11-15 11:19 东北最后深情 阅读(29) 评论(0) 推荐(0) 编辑
摘要: @SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code"> private void initComponents() { bobo = new javax.swing. 阅读全文
posted @ 2021-11-07 11:14 东北最后深情 阅读(27) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> int main(void) { FILE *fp; char wordspess[50]; char translate[50]; /* 定义文件指针*/ if( ( fp = fopen("f1.txt", "w") 阅读全文
posted @ 2021-11-01 11:49 东北最后深情 阅读(22) 评论(0) 推荐(0) 编辑
摘要: //包含头文件#include<stdio.h>//单词类型定义(定义成结构体类型,包含存储单词和中文翻译两个成员)typedef struct word{ char spell[30]; char translation[50];}word; //函数声明 //主函数int main(){ //定 阅读全文
posted @ 2021-10-25 11:46 东北最后深情 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 使用xserver1虚拟机,使用VMWare软件自行添加一块大小为20G的硬盘,使用fdisk命令对该硬盘进形分区,要求分出两个大小为5G的分区。使用两个分区,创建名xcloudvg的卷组,然后再创建一个5G的分区,将xcloudvg扩容至15G,最后执行vgdisplay命令查看卷组信息。将上述所 阅读全文
posted @ 2020-09-25 14:08 东北最后深情 阅读(1600) 评论(0) 推荐(0) 编辑