#include "graphics.h"
#include "conio.h"
main()
{
int gdrive=DETECT,gmode;
int x,y;
initgraph(&gdrive,&gmode," ");
cleardevice();
moveto(100,40);
linerel(40,0);
x=getx();
y=gety();
moveto(x,y+20);
linerel(-40,0);
moverel(0,20);
linerel(40,0);
moverel(-20,0);
linerel(0,-40);
getch();
closegraph();
}
画一王字
最新推荐文章于 2022-09-19 11:45:58 发布