c语言getch()报错

c语言getch()报错

头文件conio.h没报错,应该是有(我记得好像是下载过了),为什么getch();会报错,怎么解决[Error] call of overloaded 'getch()' is ambiguous

#include // 引用图形库头文件

#include

int main()

{

initgraph(640, 480); // 创建绘图窗口,大小为 640x480 像素

circle(200, 200, 100); // 画圆,圆心(200, 200),半径 100

getch(); // 按任意键继续

closegraph(); // 关闭绘图窗口

}