第一次做图形界面,用easyx,刚尝试了第一个函数就报错卡住了。相同的问题我也去网上搜过了,没有找到类似的报错原因,所以想来求助一下。
代码
#include <stdio.h>
#include <easyx.h>
int main()
{
setlinecolor(BLUE);
closegraph();
return 0;
}
报错在第六行,异常描述:0x00F1545C 处(位于 test.exe 中)引发的异常: 0xC0000005: 读取位置 0x00000000 时发生访问冲突。