能在dev-c++上运行通过的扫雷,贪吃蛇,等小游戏的c语言代码答:initgraph(&gd,&gm,"c:\\tc");cleardevice();} void DrawK(void){ setcolor(11);setlinestyle(SOLID_LINE,0,THICK_WIDTH);for(i=50;i<=600;i+=10){ rectangle(i,40,i+10,49); /*画出上边框*/ rectangle(i,451,i+10,460); /*画出下边框*/ } for(i=40;i<=450;i+=10)...
C语言编程纸牌游戏**答:if(a[d[n]].color==3||a[d[n]].color==4)setcolor(RED);sprintf(s1,"%c",a[d[n]].color);outtextxy(49*x+3,80*y+45,s1);if(x1<9)sprintf(r,"%d",a[d[n]].number);else sprintf(r,"%c",a[d[n]].number);outtextxy(49*x+3,80*y+54,r);} else against(n);...