*******'w'加速,'s'减速,'a','d'转向************#include bios.h
#include math.h
#include graphics.h
#include stdio.h
#include time.h
#include dos.h
#define PI 3.14159265
#define r 15
#define c(c) setfillstyle(1,c)main()
{int x=320,y=240,x0=320,y0=240;float v=0,t=0,a=0;
char k='0';
int gdriver=DETECT,gmode;
initgraph(&gdriver,&gmode,"c:c2gi"); setcolor(15);
setwritemode(XOR_PUT);while(k!='q')
{while(bioskey(1)==0)
{printf("...[ 查看全文 ]