搜索结果

找到约 113 项符合 strUCt 的查询结果

编译器/解释器 一、 实验内容 S语言的编译程序的词法分析部分实现 从左到右扫描每行S语言源程序的符号

一、 实验内容 S语言的编译程序的词法分析部分实现 从左到右扫描每行S语言源程序的符号,拼成单词,换成内部表示(token) 二、 实验要求 要求实现编译器的以下功能: &#61548 组织源程序的输入 &#61548 按规则拼写单词,并转换成二元形式 &#61548 删除空格及无用符号(如回车符,字符常数的引号符等) &#61548 发现并 ...
https://www.eeworm.com/dl/628/146599.html
下载: 91
查看: 1037

系统设计方案 This text surrounds the development of the electric power SCADA system exactly, aiming at the presen

This text surrounds the development of the electric power SCADA system exactly, aiming at the present condition of the our country electric power charged barbed wire net currently, according to the oneself at the e- lectric power protect the profession after the electricity in seven years of develop ...
https://www.eeworm.com/dl/678/176761.html
下载: 81
查看: 1063

其他 #include <stdio.h> #include <string.h> #include <stdlib.h> #include <malloc.

#include <stdio.h> #include <string.h> #include <stdlib.h> #include <malloc.h> #include <math.h> #include <conio.h> struct DuLNode{ struct DuLNode *prior int data struct DuLNode *next
https://www.eeworm.com/dl/534/185021.html
下载: 53
查看: 1453

软件设计/软件工程 实习题 [问题描述] 1. 设顺序表中的数据元素递增有序

实习题 [问题描述] 1. 设顺序表中的数据元素递增有序,将插入到顺序表的适当位置上,是该表仍然有序。 [输入] 初始顺序表,插入字符。 [输出] 插入x后线性表的结果 [存储结构] 采用顺序存储结构 [算法的基本思想] 建立一个递增顺序表,插入一个数值并移动元素,使其仍然有序。 程序如下: #include "iostream.h" #include ...
https://www.eeworm.com/dl/684/222653.html
下载: 54
查看: 1042

其他 [输入] 图的顶点个数N

[输入] 图的顶点个数N,图中顶点之间的关系及起点A和终点B [输出] 若A到B无路径,则输出“There is no path” 否则输出A到B路径上个顶点 [存储结构] 图采用邻接矩阵的方式存储。 [算法的基本思想] 采用广度优先搜索的方法,从顶点A开始,依次访问与A邻接的顶点VA1,VA2,...,VAK, 访问遍之后,若没有访问B,则继续访问与VA1邻 ...
https://www.eeworm.com/dl/534/222654.html
下载: 62
查看: 1071

数据结构 2.[问题描述] 编写递归算法

2.[问题描述] 编写递归算法,在二叉树中求位于先序序列中第K个位置的结点 [输入] 按照先序序列的顺序输入该结点的内容。其输入abd eh cf i g 。输入要求的位置 [输出] 若二叉树不空,按先序序列输出,求出所求位置的结点 [存储结构] 采用二叉表存储 [算法的基本思想] 采用递归方法建立和遍历二叉树。首先建立二叉树的根结 ...
https://www.eeworm.com/dl/654/222660.html
下载: 200
查看: 1078

数据结构 [问题描述] 在二叉排序树中查找关键字为KEY的记录 [输入] 有序表输入要查找元素的关键字 [输出] 查找成功是即可显示查找成功 #include <stdlib.h> #

[问题描述] 在二叉排序树中查找关键字为KEY的记录 [输入] 有序表输入要查找元素的关键字 [输出] 查找成功是即可显示查找成功 #include <stdlib.h> #include <stdio.h> typedef int KeyType typedef struct{
https://www.eeworm.com/dl/654/222663.html
下载: 42
查看: 1102

其他 学会对文件的记录锁定

学会对文件的记录锁定,及解锁。#include <stdio.h> #include <unistd.h> #include <fcntl.h> int main() { int fd int i struct { char name[20] uint ID int age } myrec fd =open("name", O_RDWR|O_CREAT, 0755) if (fd == -1) return -1 printf("Input your name:") scanf("%s", myrec.name) ...
https://www.eeworm.com/dl/534/242419.html
下载: 95
查看: 1100

数据结构 经典数据结构中较难的平衡二叉排序树的操作

经典数据结构中较难的平衡二叉排序树的操作,考虑到较多同学都需要,特此上传,c++实现,需要做异质树的自行把struct改为class既可。
https://www.eeworm.com/dl/654/260513.html
下载: 192
查看: 1029

其他 数据结构(严慰敏)配套纯c代码实验十 typedef int InfoType // 定义其它数据项的类型 typedef int KeyType // 定义RedType类型的关键字为整型

数据结构(严慰敏)配套纯c代码实验十 typedef int InfoType // 定义其它数据项的类型 typedef int KeyType // 定义RedType类型的关键字为整型 struct RedType // 记录类型(同c10-1.h) { KeyType key // 关键字项 InfoType otherinfo // 其它数据项 } typedef char KeysType // 定义关键字类型为字符型 #include"c ...
https://www.eeworm.com/dl/534/266759.html
下载: 173
查看: 1539