include <graphics.h>
include <math.h>
include
using namespace std;
int main()
{
initgraph( 1000, 800 );
setcaption("Magic World");
PIMAGE img;
img = newimage();
getimage(img,"player.png");
putimage(50,50,img);
getch(); // 暂停程序,等待用户按下任意键
closegraph(); // 关闭图形窗口
return 0;
}
浙公网安备 33010602011771号