[C++][easyx]easyx系列之hello world画圈

测试环境:

vs2019

easyx大暑版2023

代码:

#include <graphics.h>		// 引用图形库头文件
#include <conio.h>
int main()
{
	initgraph(640, 480);	// 创建绘图窗口,大小为 640x480 像素
	circle(200, 200, 100);	// 画圆,圆心(200, 200),半径 100
	_getch();				// 按任意键继续
	closegraph();			// 关闭绘图窗口
	return 0;
}

猜你喜欢

转载自blog.csdn.net/FL1623863129/article/details/132513030
今日推荐