文件路格式和路劲都没错,就是贴不了图
vc2010 已安装easyx2019
其他功能都可以,就是贴图这功能不行
字符集已设置成多字符集了
#include<stdio.h>
#include<graphics.h>
int main(void)
{
IMAGE img;
initgraph(640, 480);
loadimage(&img, "C:\\Users\\LEGION\\Pictures\\Saved Pictures\\2.jpg", 640, 480);
putimage(0, 0, &img);
getchar();
closegraph();
}