搜索结果

找到约 33 项符合 scanf 的查询结果

单片机开发 实现了标准C语言库函数printf scanf功能

实现了标准C语言库函数printf scanf功能,只需要提供字符串输出函数和字符串输入函数即可使用。
https://www.eeworm.com/dl/648/303151.html
下载: 76
查看: 1034

Linux/Unix编程 你知道在linux下你用了scanf后,系统都做了些什么么?此文档为你娓娓道来

你知道在linux下你用了scanf后,系统都做了些什么么?此文档为你娓娓道来
https://www.eeworm.com/dl/619/318861.html
下载: 60
查看: 1014

单片机开发 欧几里德算法:辗转求余  原理: gcd(a,b)=gcd(b,a mod b)  当b为0时,两数的最大公约数即为a  getchar()会接受前一个scanf的回车符

欧几里德算法:辗转求余  原理: gcd(a,b)=gcd(b,a mod b)  当b为0时,两数的最大公约数即为a  getchar()会接受前一个scanf的回车符
https://www.eeworm.com/dl/648/446393.html
下载: 43
查看: 1134

数学计算 #include<stdio.h> void main(void) {int n,k,derivata,a[10],i printf("n=") scanf(" d",&n)

#include<stdio.h> void main(void) {int n,k,derivata,a[10],i printf("n=") scanf(" d",&n) for(i=0 i<=n i++) { printf("a[ d]=",i) scanf(" d",&a[i]) } printf("k=") scanf(" d",&k) for(derivata=1 derivata<=k derivata++) { for(i=0 i<=n i++) a[i]=a[i]*(n-i) n-- for(i=0 i<=n i++) p ...
https://www.eeworm.com/dl/641/491234.html
下载: 98
查看: 1402

编译器/解释器 词法分析程序

词法分析程序,可对以下的C源程序进行分析:main() {int a[12] ,sum for(i=1 i<=12 i++) {for(j=1 j<=12 j++)scanf("%d",&a[i][j]) } for(i=12 i>=1 i--){ for(j=12 j>=1 j--){ if(i==j&&i+j==13)sum+=a[i][j] } } printf("%c",sum) }
https://www.eeworm.com/dl/628/131829.html
下载: 59
查看: 1017

单片机开发 The project KEIL_IODemo shows how to use memory allocation routines (malloc) and char I/O (printf, s

The project KEIL_IODemo shows how to use memory allocation routines (malloc) and char I/O (printf, scanf) via a serial interface with the Keil ARM toolchain. The I/O functions are adapted for the Analog Devices ADuC7000 series using the SERIAL.C module. The example also shows the efficiency of the ...
https://www.eeworm.com/dl/648/148542.html
下载: 125
查看: 1077

单片机开发 UART I/O and Memory Allocation Example for GNU The project GNU_IODemo shows how to use memory alloc

UART I/O and Memory Allocation Example for GNU The project GNU_IODemo shows how to use memory allocation routines (malloc) and char I/O (printf, scanf) via a serial interface with the GNU toolchain. The I/O functions are adapted for the Analog Devices ADuC7000 series using the SERIAL.C module. The ...
https://www.eeworm.com/dl/648/148543.html
下载: 61
查看: 1086

微处理器开发 MIPS架构下串口API函数集合,包括getcharputcharscanfprintf

MIPS架构下串口API函数集合,包括getchar\putchar\scanf\printf
https://www.eeworm.com/dl/655/153560.html
下载: 50
查看: 1032

单片机开发 实用的串口收发程序

实用的串口收发程序,实现了printf和scanf,注释详细,适用于51单片机
https://www.eeworm.com/dl/648/190920.html
下载: 116
查看: 1052

编译器/解释器 (1) 给定一段符合Pascal子集语法的语言

(1) 给定一段符合Pascal子集语法的语言,能成功转换成C语言; (2) 一个简单的说明文档; (3) 2007.7.14之前上传到ftp:// C07:C07@10.11.3.71/upload,用学号建立自己的目录; (4) (可额外加分5分)若有出错处理功能,请在说明文档中写明可以处理哪几项错误。 注意事项: (1) 两人一组 (2) 可以使用词法、语法自 ...
https://www.eeworm.com/dl/628/223986.html
下载: 135
查看: 1034