首页 > 电脑
更新时间2018-11-19 00:57:40
#include <stdio.h>
#include <stdlib.h>
int main()
{
char a;
a=getch();
return 0;
}
什么编译器?
你程序本身有一个小问题
getch()是conio.h中定义的,头文件必须有
#include <conio.h>
我的测试程序是正常的,应该是你编译器或开发工具的问题
上一篇:c语言宏定义问题!求详解
下一篇:为什么荒野行动进不去会说无法连接数据库?