|
|
比如,这一段
if(qx<0&&qy>0) {man[q].fw=1;goto aa;}
if(qx<0&&qy<0) {man[q].fw=3;goto aa;}
if(qx>0&&qy<0) {man[q].fw=5;goto aa;}
if(qx>0&&qy>0) {man[q].fw=7;goto aa;}
if (qy>0) {man[q].fw=0;goto aa;}
if(qx<0) {man[q].fw=2;goto aa;}
if (qy<0) {man[q].fw=4;goto aa;}
if(qx>0) {man[q].fw=6;goto aa;}
没有任何注释
也不知道你的aa是干嘛的
还有
typedef struct
{ short int jisu;
short int xix,xiy;
short int x0,y0;
short int lb;
short int p;
short int m0,m1;
short int zs;
short int js;
short int fw;
} MAN;
不知道你的jisu,xix,xiy,p,zs,js是干嘛的,你的命名也太强了! |
|