搜索结果

找到约 98 项符合 Stdio 的查询结果

其他 [输入] 图的顶点个数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

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

1.[问题描述] 编写递归算法,计算二叉树中叶子结点的数目 [输入] 按照先序序列的顺序输入该结点的内容。其输入abd eh cf i g . [输出] 按中序序列输出,输出的结果为;dbheaficg并计算出二叉树中叶子结点的数目为4 [存储结构] 采用二叉表存储 [算法的基本思想] 采用递归方法建立和遍历二叉树。首先建立二叉树的根结点,然 ...
https://www.eeworm.com/dl/654/222659.html
下载: 88
查看: 1131

数据结构 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

matlab例程 matlab中用C语言编写sfunction, 实现读取文件中的数据

matlab中用C语言编写sfunction, 实现读取文件中的数据,应用库"stdio.h"
https://www.eeworm.com/dl/665/246793.html
下载: 172
查看: 1295

压缩解压 The Tremor Vorbis I stream and file decoder provides an embeddable, integer-only library [libvorbisi

The Tremor Vorbis I stream and file decoder provides an embeddable, integer-only library [libvorbisidec] intended for decoding all current and future Vorbis I compliant streams. The Tremor libvorbisidec library exposes an API intended to be as similar as possible to the familiar vorbisfile library i ...
https://www.eeworm.com/dl/617/249090.html
下载: 87
查看: 1057

压缩解压 The Tremor Vorbis I stream and file decoder provides an embeddable, integer-only library [libvorbisi

The Tremor Vorbis I stream and file decoder provides an embeddable, integer-only library [libvorbisidec] intended for decoding all current and future Vorbis I compliant streams. The Tremor libvorbisidec library exposes an API intended to be as similar as possible to the familiar vorbisfile library i ...
https://www.eeworm.com/dl/617/249094.html
下载: 81
查看: 1043

微处理器开发 实验源码是2410完全开发用的

实验源码是2410完全开发用的,通过此源码实验初学者可以一步步步入arm开发的殿堂。 源码包括:led点亮、key、stdio操作以及nand和sdram操作控制等。
https://www.eeworm.com/dl/655/259137.html
下载: 198
查看: 1059

单片机开发 对读入一个字节(不带回车)读入一个字符串带回车

对读入一个字节(不带回车)读入一个字符串带回车,发送字符串函数测试成功 由于不清楚keil自带的STDIO.H函数是否是堵塞发送接受,所以本程序使用非堵塞方式发送接受,缺点是占 用一些内存,缓冲区大小可自由配置。
https://www.eeworm.com/dl/648/313489.html
下载: 86
查看: 1039