getch()的问题,新手求助。
getch()的问题,新手求助。#include <stdio.h>
#include <graphics.h>
main()
{
int graphdriver = DETECT;
int graphmode;
initgraph(&graphdriver,&graphmode,"");
line(100,100,200,200);
(void)getch();
closegraph();
}
我用的是Tutbo2 ,显示 Function getch should have a prototype.