§ 词条解释 函数名: getch 功 能: 从控制台无回显地取一个字符 用 法: int getch(void); 程序例: #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; } § 相关条目 计算机; 程序; 语言; 编程; C++ ; 函数 |