欢迎来到天天文库
浏览记录
ID:40474922
大小:83.51 KB
页数:12页
时间:2019-08-03
《C语言程序设计连连看》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、#include#include#include#include#includeusingnamespacestd;#includeintmai()//倒计时{for(inti=3;i>=0;i--){longt=time(NULL);for(;;){longn=time(NULL);if(n!=t)break;}system("cls");cout<<""<2、的游戏开始还有**"<3、<<""<4、***************************************************"<>d;cout<<"-***"<5、t1();break;case2:init2();break;case3:init3();break;default:cout<<"你个逗比";}intop;introw,line;introw2,line2;do{if(d==1)print1();elseif(d==2)print2();elseif(d==3)print3();printf("options:");printf("t1.select");printf("t2.restart");printf("t3.sort");scanf("%d",&o6、p);if(op==1){printf("不造亲第一个相中了谁呢:");scanf("%d%d",&line,&row);printf("再给他找个伴儿吧,亲:");scanf("%d%d",&line2,&row2);if(chessman[line][row]!=chessman[line2][row2]){printf("有缘无分呐!");system("pause");}elseif(line==line2&&row==row2){printf("有搞错哦,亲!!!");system("pause");}elseif7、(line<=line2){near1(line,row,line2,row2);}else{near1(line2,row2,line,row);}}if(op==2){}if(op==3){main();}}while(exit1(),exit2(),exit3());system("pause");printf("tt哇呀!你好厉害!");end=clock();time=end-start;//这里的时间是计算机内部时间cout<8、se");cout<<"本次得分:98分!继续保持哦!"<
2、的游戏开始还有**"<
3、<<""<4、***************************************************"<>d;cout<<"-***"<5、t1();break;case2:init2();break;case3:init3();break;default:cout<<"你个逗比";}intop;introw,line;introw2,line2;do{if(d==1)print1();elseif(d==2)print2();elseif(d==3)print3();printf("options:");printf("t1.select");printf("t2.restart");printf("t3.sort");scanf("%d",&o6、p);if(op==1){printf("不造亲第一个相中了谁呢:");scanf("%d%d",&line,&row);printf("再给他找个伴儿吧,亲:");scanf("%d%d",&line2,&row2);if(chessman[line][row]!=chessman[line2][row2]){printf("有缘无分呐!");system("pause");}elseif(line==line2&&row==row2){printf("有搞错哦,亲!!!");system("pause");}elseif7、(line<=line2){near1(line,row,line2,row2);}else{near1(line2,row2,line,row);}}if(op==2){}if(op==3){main();}}while(exit1(),exit2(),exit3());system("pause");printf("tt哇呀!你好厉害!");end=clock();time=end-start;//这里的时间是计算机内部时间cout<8、se");cout<<"本次得分:98分!继续保持哦!"<
4、***************************************************"<>d;cout<<"-***"<5、t1();break;case2:init2();break;case3:init3();break;default:cout<<"你个逗比";}intop;introw,line;introw2,line2;do{if(d==1)print1();elseif(d==2)print2();elseif(d==3)print3();printf("options:");printf("t1.select");printf("t2.restart");printf("t3.sort");scanf("%d",&o6、p);if(op==1){printf("不造亲第一个相中了谁呢:");scanf("%d%d",&line,&row);printf("再给他找个伴儿吧,亲:");scanf("%d%d",&line2,&row2);if(chessman[line][row]!=chessman[line2][row2]){printf("有缘无分呐!");system("pause");}elseif(line==line2&&row==row2){printf("有搞错哦,亲!!!");system("pause");}elseif7、(line<=line2){near1(line,row,line2,row2);}else{near1(line2,row2,line,row);}}if(op==2){}if(op==3){main();}}while(exit1(),exit2(),exit3());system("pause");printf("tt哇呀!你好厉害!");end=clock();time=end-start;//这里的时间是计算机内部时间cout<8、se");cout<<"本次得分:98分!继续保持哦!"<
5、t1();break;case2:init2();break;case3:init3();break;default:cout<<"你个逗比";}intop;introw,line;introw2,line2;do{if(d==1)print1();elseif(d==2)print2();elseif(d==3)print3();printf("options:");printf("t1.select");printf("t2.restart");printf("t3.sort");scanf("%d",&o
6、p);if(op==1){printf("不造亲第一个相中了谁呢:");scanf("%d%d",&line,&row);printf("再给他找个伴儿吧,亲:");scanf("%d%d",&line2,&row2);if(chessman[line][row]!=chessman[line2][row2]){printf("有缘无分呐!");system("pause");}elseif(line==line2&&row==row2){printf("有搞错哦,亲!!!");system("pause");}elseif
7、(line<=line2){near1(line,row,line2,row2);}else{near1(line2,row2,line,row);}}if(op==2){}if(op==3){main();}}while(exit1(),exit2(),exit3());system("pause");printf("tt哇呀!你好厉害!");end=clock();time=end-start;//这里的时间是计算机内部时间cout<8、se");cout<<"本次得分:98分!继续保持哦!"<
8、se");cout<<"本次得分:98分!继续保持哦!"<
此文档下载收益归作者所有