Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 260 Bytes

62.md

File metadata and controls

21 lines (19 loc) · 260 Bytes

题目:学习putpixel画点。
EasyX库

#include <graphics.h>
#include <conio.h>

void main()
{
	initgraph(800, 600);
	for (int i = 0; i < 500; ++i)
	{
		for (int j = 0; j < 300; ++j)
		{
			putpixel(i, j, RED);
		}
	}

	getch();
	closegraph();
}