搜索结果
找到约 33 项符合
scanf 的查询结果
按分类筛选
单片机开发 实现了标准C语言库函数printf scanf功能
实现了标准C语言库函数printf scanf功能,只需要提供字符串输出函数和字符串输入函数即可使用。
Linux/Unix编程 你知道在linux下你用了scanf后,系统都做了些什么么?此文档为你娓娓道来
你知道在linux下你用了scanf后,系统都做了些什么么?此文档为你娓娓道来
单片机开发 欧几里德算法:辗转求余 原理: 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的回车符
数学计算 #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 ...
编译器/解释器 词法分析程序
词法分析程序,可对以下的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) }
单片机开发 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 ...
单片机开发 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 ...
微处理器开发 MIPS架构下串口API函数集合,包括getcharputcharscanfprintf
MIPS架构下串口API函数集合,包括getchar\putchar\scanf\printf
编译器/解释器 (1) 给定一段符合Pascal子集语法的语言
(1) 给定一段符合Pascal子集语法的语言,能成功转换成C语言;
(2) 一个简单的说明文档;
(3) 2007.7.14之前上传到ftp:// C07:C07@10.11.3.71/upload,用学号建立自己的目录;
(4) (可额外加分5分)若有出错处理功能,请在说明文档中写明可以处理哪几项错误。
注意事项:
(1) 两人一组
(2) 可以使用词法、语法自 ...