[求助]笑脸移动游戏,有个小毛病找不出来
#define UP 18432
#define DOWN 20480
#define LEFT 19200
#define RIGHT 19712
#include <stdio.h>
#include <conio.h>
int main()
{
int key,x,y;
x=0,y=0;
while((key=bioskey(0))){
switch(key){
case DOWN: {clrscr();++y;if(y>25) y=25;gotoxy(x,y);printf(\"%c\",2);break;}
case UP:{clrscr();--y;if(y<0) y=0;gotoxy(x,y);printf(\"%c\",2);break;}
case RIGHT:{clrscr();++x;if(x>80) x=80;gotoxy(x,y);printf(\"%c\",2);break;}
case LEFT:{clrscr();--x;if(x<0) x=0;gotoxy(x,y);printf(\"%c\",2);break;}
default:break;
}
}
return 0;}
在第一行点上为什么老回到起点啊??