求解 C程序设计与项目实践 习题.docVIP

  • 6
  • 0
  • 约6.22千字
  • 约 6页
  • 2016-03-11 发布于江西
  • 举报
求解 C程序设计与项目实践 习题.doc

#include stdio.h #include stdlib.h #include math.h #include string.h int map[100]; int luckyturn[]={6,23,40,55,69,83}; int landmine[]={5,13,17,33,38,50,64,80,94}; int pause[]={9,27,60,93}; int timetunue[]={20,25,43,63,72,88,90}; char graph[10]; int playerpos1; int playerpos2; char goandstop[2][5]; char playername[2][20]; int throwshifter(int no); int getcurpos(int no,int position,int step); void creatmap() { int i=0; for(i=0;isizeof(luckyturn)/sizeof(int);i++) map[luckyturn[i]]=1; for(i=0;isizeof(landmine)/sizeof(int);i++) map[landmine[i]]=2; for(i=0;isizeof(pause)/sizeof(int);i++) m

文档评论(0)

1亿VIP精品文档

相关文档