在输入rectangle函数式出现存储异常的错误
#include<stdio.h>
#include<stdlib.h>
#include<math.h>
#include<graphics.h>
void UI_GameView()//自定义函数
{
cleardevice;//清屏函数
rectangle(10, 10, 312, 615);//画长方形函数 左上坐标 x,y 右下坐标 x,y
}
int main()
{
UI_GameView();
system("pause");
return 0;
}
报错如下