搜索结果

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

单片机开发 ①把settle定义成char型变量 ②settle=(settle>= A && settle <= B ) 写错了

①把settle定义成char型变量 ②settle=(settle>= A && settle <= B ) 写错了,改成(settle>= A && settle <= Z ) ③scanf函数后面加一句getchar()用来吸收回车键
https://www.eeworm.com/dl/648/430152.html
下载: 176
查看: 1059

软件设计/软件工程 printf(&quot 请输入%d个课程的代表值(<%d个字符): &quot ,(*G).vexnum,MAX_NAME) for(i=0 i<(*G).vexnum ++i)

printf(&quot 请输入%d个课程的代表值(<%d个字符):\n&quot ,(*G).vexnum,MAX_NAME) for(i=0 i<(*G).vexnum ++i) /* 构造顶点向量 */ { scanf(&quot %s&quot ,(*G).vertices[i].data) (*G).vertices[i].firstarc=NULL } printf(&quot 请输入%d个课程的学分值(<%d个字符):\n&quot ,(*G).vexnum,MAX_NAME) fo ...
https://www.eeworm.com/dl/684/333152.html
下载: 60
查看: 1259

技术资料 使用MDK5建立的STM32F10单片机工程模板

使用MDK5建立的STM32F10单片机工程模板,已经实现了在不使用MicroLIB库的前提下重定向printf和scanf函数到USART,可直接使用串口助手调试
https://www.eeworm.com/dl/860592.html
下载: 5
查看: 6088

源码 学生成绩管理

#include<stdio.h> #include<windows.h> int xuanxiang; int studentcount; int banjihao[100]; int xueqihao[100][10]; char xm[100][100]; int xuehao[100][10]; int score[100][3]; int yuwen; int shuxue[000]; int yingyu[100]; int c[100]; int p; char x[1000][100]="",y[100][100]="";/*x学院 y专业 z班级*/  ...
https://www.eeworm.com/dl/517591.html
下载: 4
查看: 56

C/C++语言编程 C语言用户注册及登录

#include<stdio.h> #include<stdlib.h> #include<conio.h> #include<string.h> main(void) {   char new_name[4], name[4];     int new_sn ,sn;     printf("        【注册】\n\n");     printf("请输入用户名(四位英文字母):");     scanf("%s", ...
https://www.eeworm.com/dl/509083.html
下载: 1
查看: 196

单片机开发 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
查看: 1116

单片机开发 S3C2410开发实验源代码及实验指导;内容包括: LED_ON LED_ON_C IO_ports arm-linux-ld memory_controller Nand Flash contro

S3C2410开发实验源代码及实验指导;内容包括: LED_ON LED_ON_C IO_ports arm-linux-ld memory_controller Nand Flash controller uart printf,scanf interrupt controller timer mmu clock vivi等; 主要讲述了单片机s3c2410的使用。
https://www.eeworm.com/dl/648/319545.html
下载: 134
查看: 1083

单片机开发 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
查看: 1130

其他 Status CreateSMatrix(RLSMatrix &M) { // 创建稀疏矩阵M int i Triple T Status k printf("请输入矩阵的行

Status CreateSMatrix(RLSMatrix &M) { // 创建稀疏矩阵M int i Triple T Status k printf("请输入矩阵的行数,列数,非零元素数:") scanf("%d,%d,%d",&M.mu,&M.nu,&M.tu) M.data[0].i=0 // 为以下比较做准备 for(i=1 i<=M.tu i++) { do {
https://www.eeworm.com/dl/534/266768.html
下载: 69
查看: 1371

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

词法分析程序,可对以下的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
查看: 1054