U");Р outtextxy(300,360,"BLUE___WEIYI");Р /* outtextxy(300,50,"SUDU JIASUDU WEIYI GUAN XI QU XIAN TU");*/Р outtextxy(300,50,"SUDU JIASUDU WEIYI GUAN XI QU XIAN TU");Р getch();Р closegraph();}Р /***************************运动模拟图函数*****************************/Р void dtmn()Р {Р int gd=DETECT,gmode,n;Р initgraph(&gd,&gmode,"c:\\turboc2");Р cleardevice();Р doР {setbkcolor(0);Р sgd();Р }while(!kbhit());Р getch();Р }Р /****************************导轨函数*********************************/Р void slide(float x0,float y0,float x1,float h)Р {float xr;Р int i,n;Р xr=x0+x1;Р line(x0,y0,xr,y0);Р n=x1/h;Р for(i=0;i<=n;i++)Р {moveto(x0+i*h,y0+h);Р o(x0+(i+1)*h,y0);Р }Р}Р Р/************************摇块函数**************************************/Р void pist(float x0,float y0,float l,float h,float theta)Р {float x,y;