撸点代码,或难或易——7

学习easyx
#include<iostream>
#include<conio.h>
#include<graphics.h>
#include<time.h>
using namespace std;
int main()
{
	initgraph(600, 800);
	IMAGE img;
	setlinecolor(RED);
	circle(200, 200, 100);
	floodfill(400, 400, RED);
	Sleep(1000);
	loadimage(NULL, "C:\\Users\\94408\\Desktop\\test.jpg");
	Sleep(1000);
	getimage(&img, 100, 100, 150, 150);
	cleardevice();
	putimage(200, 200, &img);
	_getch();
	closegraph();
}


 

猜你喜欢

转载自blog.csdn.net/Do_or_die_hard/article/details/79139736