#include<iostream>
#include<easyx.h>
using namespace std;
int main()
{
initgraph(800, 600);
closegraph();
getchar();
return 0;
}
举报
下载好了visual studio2022,也在官网上下载了easyx,但是运行起来却报错无法打开源文件easyx.h,这是什么原因??谢谢
举报
如果报告没有找到 easyx.h,那应该是你没有安装好。
举报
因为easyx.h的头文件应该是graphics.h