C语言实现连连看.docVIP

  • 9
  • 0
  • 约2.59万字
  • 约 26页
  • 2016-12-18 发布于贵州
  • 举报
南京航空航天大学计算机专业 专业: 计算机科学与技术学院 姓名: 杨万 学号: 161310224 “mymain.cpp”文件中代码 #include iostream using namespace std; #include stdio.h #include fstream #include windows.h #include math.h #include stdlib.h #include string.h #include lianliankan.h int main() { ?Game mygame; ?int selection; ?while(true) ?{ ??mygame.GameMenu(); ??cout请输入:endl ???数字1进入游戏; ???数字2继续游戏; ???数字3选择游戏难度; ???数字4选择游戏模式; ???数字5查看排行榜; ???数字0退出游戏.endl; ??cinselection; ??if(selection0||selection5) ??{ ???cout输入错误endl; ???system(cls); ???continue; ??} ??DWORD game_start, game_end; ??switch(selection) ??{ ??case 1: ???{ ????char myname

文档评论(0)

1亿VIP精品文档

相关文档