easyX實現鼠標人物移動(可視化編程)

#include<graphics.h> #include<stdio.h> #include<conio.h> #include<mmsystem.h> #pragma comment(lib,"WINMM.lib") struct { int x, y;//人物座標 int _x, _y;//目的地座標 int dir;//人物移動方向 /* 0 下 ,1 左 2,右
相關文章
相關標籤/搜索