0
点赞
收藏
分享

微信扫一扫

[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;
}

举报

相关推荐

0 条评论