搜索结果

找到约 17 项符合 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
查看: 1210

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

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

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

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

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

单片机开发 ①把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

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

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

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

源码 学生成绩管理

#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

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

VIP专区 零基础开始“C语言和程序设计快速入门”视频课程,附课件

01 课程开场白---学什么,怎么学,C语言的重要性.mp4 02 计算机基础---程序执行原理和编译原理.mp4 03 计算机进制及计算机内存空间.mp4 04 字符在计算机中的编码原理及ACS码表的应用技巧.mp4 05 C开发环境简介及打造自己的C开发环境.mp4 06 用CodeBLOCKS创建第一个C工程及简单使用.mp4 07 两段C代码的比较-C语言规范 ...
https://www.eeworm.com/vipdownload/576.html