搜索结果

找到约 16 项符合 getchar 的查询结果

单片机开发 欧几里德算法:辗转求余  原理: 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

单片机开发 本库利用51的timer2

本库利用51的timer2,9600bps适用于有片内外部存储器的51芯片占用32byte缓存,重写putchar,getchar函数,循环队列,后台操作。
https://www.eeworm.com/dl/648/104783.html
下载: 165
查看: 1019

单片机开发 RtosSerial.lib rtosSerial.h 使用说明

RtosSerial.lib rtosSerial.h 使用说明,本库利用51的timer2,9600bps适用于有片内外部存储器的51芯片占用32byte缓存,重写putchar,getchar函数,循环队列,后台操作。 可与rtx51很好集成。任何人可以自由分发,和应用。有疑问可以联系serialrtos@163.net ...
https://www.eeworm.com/dl/648/138791.html
下载: 94
查看: 1024

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

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

VC书籍 高质量C++编程 电子版 林锐 &#61548 如果输入参数以值传递的方式传递对象

高质量C++编程 电子版 林锐 &#61548 如果输入参数以值传递的方式传递对象,则宜改用“const &”方式来传递,这样可以省去临时对象的构造和析构过程,从而提高效率。 &#61548 【规则6-2-2】函数名字与返回值类型在语义上不可冲突。 违反这条规则的典型代表是C标准库函数getchar。 ...
https://www.eeworm.com/dl/686/283858.html
下载: 177
查看: 1074

单片机开发 AVR306串口程序例子----查询模式 Application Note AVR306 * Polled mode driver for UART, this is the similar to

AVR306串口程序例子----查询模式 Application Note AVR306 * Polled mode driver for UART, this is the similar to the * library default putchar() and getchar() in ICCAVR
https://www.eeworm.com/dl/648/285939.html
下载: 91
查看: 1064

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

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
查看: 168

Linux/uClinux/Unix编程 c语言程序源

#include <iostream> using namespace std; class Student { public: Student(int, int); int num; int grade; }; Student::Student(int n, int g) { num = n; grade = g; } int maxGradeIndex(Student* s) { int maxGrade, index = 0, i = 0; maxGrade = s[0].grade; for (i = 0; i<5; i++) { if (s[i].grade > maxGrade) ...
https://www.eeworm.com/dl/510573.html
下载: 1
查看: 29

源码 运动会源代码

#include <malloc.h>       #include <stdio.h>       #include <stdlib.h>       #include <string.h>       #define NULL 0    &nbsp ...
https://www.eeworm.com/dl/513814.html
下载: 2
查看: 9