词条 | getche |
释义 | 函数名: getche 功 能: 输入后立即从控制台取字符,不以回车为结束(带回显) 用 法: int getche(void); 头文件:#include<conio.h> 程序例: #include <stdio.h> #include <conio.h> int main(void) { char ch; printf("Input a character:"); ch = getche(); printf("\You input a '%c'\", ch); return 0; } |
随便看 |
百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。