码迷,mamicode.com
首页 >  
搜索关键字:getch    ( 1998个结果
c 语言文件操作
C语言文件操作输入输出子程序,函数库为io.h、conio.h、stat.h、dos.h、stdio.h、signal.hint kbhit() 本函数返回最近所敲的按键int fgetchar() 从控制台(键盘)读一个字符,显示在屏幕上int getch() ...
分类:编程语言   时间:2015-12-29 13:00:30    阅读次数:331
实时控制软件设计第二次编程作业
1 #include 2 #include"robot.h" 3 /* run this program using the console pauser or add your own getch, system("pause") or input loop */ 4 5 int ...
分类:其他好文   时间:2015-12-19 23:06:28    阅读次数:238
[pj2015题解]其实是纯代码.
第一题,很水,直接上代码 1 #include 2 #include 3 #include 4 /* run this program using the console pauser or add your own getch, system("pause") or input loop *...
分类:其他好文   时间:2015-12-17 13:00:53    阅读次数:234
第五章 指针与数组
5.2 指针与函数参数#include #include #include int getch(void);void ungetch(int); /*getint 函数:将输入中的下一个整型数赋值给*pn */int getint(int* pn){ int c, sign; whi...
分类:编程语言   时间:2015-12-01 21:22:25    阅读次数:216
第一次编程作业
1 #include 2 #include 3 #include 4 #include 5 /* run this program using the console pauser or add your own getch, system("pause") or input loop *...
分类:其他好文   时间:2015-12-01 00:03:12    阅读次数:177
第一次练习
1 #include 2 #include 3 #include 4 #include 5 #include 6 /* run this program using the console pauser or add your own getch, system("pause") or inpu.....
分类:其他好文   时间:2015-11-30 17:29:05    阅读次数:207
C语言隐形密码输入
今天费了老大的劲,终于做出来了!虽然简单,但也是自己的心血,分享一下!#include#includeint main(){ char a[20]; int i=0; while(a[i]=getch()) { if(a[i]==13) break; putchar('*'); i+...
分类:编程语言   时间:2015-11-27 21:57:26    阅读次数:188
算法笔记4
1 #include 2 #include 3 4 /* run this program using the console pauser or add your own getch, system("pause") or input loop */ 5 void graph(int nu...
分类:编程语言   时间:2015-11-20 15:33:20    阅读次数:247
C++统计一段文字中各单词出现的频率
#include using namespace std;/* run this program using the console pauser or add your own getch, system("pause") or input loop */class SqString{privat...
分类:编程语言   时间:2015-10-28 22:57:34    阅读次数:365
getch()、getche()和getchar()函数
getch()、getche()和getchar()函数(1) getch()和getche()函数 这两个函数都是从键盘上读入一个字符。其调用格式为: getch(); getche(); 两者的区别是:getch()函数不将读入的字符回显在显示屏幕上,而getche() 函数却将读入的字符回.....
分类:其他好文   时间:2015-10-20 21:04:58    阅读次数:197
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!