getch()的功能是什么getch()的功能是从控制台读取一个字符,但不显示在屏幕上;当用户按下某个字符时,函数自动读取,无需按回车。其语法格式为“int getch(void)”,在使用getch()时,需要引入头文件“conio.h”。本文操作环境:宏基S40 1