欢迎来到天天文库
浏览记录
ID:47249736
大小:75.00 KB
页数:12页
时间:2019-08-16
《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、();break;default:cout<<"你个逗比";}intop;introw,line;introw2,line2;do{if(d==1)print1();elseif(d==2)print2();elseif(d==3)Word格式..print3();printf("options:");printf("t1.select");printf("t2.restart");printf("t3.sort");scanf("%d",&op);if(op==1){printf("不造亲第一个相中了谁呢:");scanf("%d%d6、",&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(line<=line2){near1(line,row,line2,row2);}else{near1(line2,r7、ow2,line,row);}}if(op==2){}if(op==3){main();}}while(exit1(),exit2(),exit3());system("pause");printf("tt哇呀!你好厉害!");end=clock();time=end-start;//这里的时间是计算机内部时间Word格式..cout<8、4乘4矩阵{inti,j;inta[4]={0};s
2、
3、<""<4、**********************"<>d;cout<<"-***"<5、();break;default:cout<<"你个逗比";}intop;introw,line;introw2,line2;do{if(d==1)print1();elseif(d==2)print2();elseif(d==3)Word格式..print3();printf("options:");printf("t1.select");printf("t2.restart");printf("t3.sort");scanf("%d",&op);if(op==1){printf("不造亲第一个相中了谁呢:");scanf("%d%d6、",&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(line<=line2){near1(line,row,line2,row2);}else{near1(line2,r7、ow2,line,row);}}if(op==2){}if(op==3){main();}}while(exit1(),exit2(),exit3());system("pause");printf("tt哇呀!你好厉害!");end=clock();time=end-start;//这里的时间是计算机内部时间Word格式..cout<8、4乘4矩阵{inti,j;inta[4]={0};s
4、**********************"<>d;cout<<"-***"<5、();break;default:cout<<"你个逗比";}intop;introw,line;introw2,line2;do{if(d==1)print1();elseif(d==2)print2();elseif(d==3)Word格式..print3();printf("options:");printf("t1.select");printf("t2.restart");printf("t3.sort");scanf("%d",&op);if(op==1){printf("不造亲第一个相中了谁呢:");scanf("%d%d6、",&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(line<=line2){near1(line,row,line2,row2);}else{near1(line2,r7、ow2,line,row);}}if(op==2){}if(op==3){main();}}while(exit1(),exit2(),exit3());system("pause");printf("tt哇呀!你好厉害!");end=clock();time=end-start;//这里的时间是计算机内部时间Word格式..cout<8、4乘4矩阵{inti,j;inta[4]={0};s
5、();break;default:cout<<"你个逗比";}intop;introw,line;introw2,line2;do{if(d==1)print1();elseif(d==2)print2();elseif(d==3)Word格式..print3();printf("options:");printf("t1.select");printf("t2.restart");printf("t3.sort");scanf("%d",&op);if(op==1){printf("不造亲第一个相中了谁呢:");scanf("%d%d
6、",&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(line<=line2){near1(line,row,line2,row2);}else{near1(line2,r
7、ow2,line,row);}}if(op==2){}if(op==3){main();}}while(exit1(),exit2(),exit3());system("pause");printf("tt哇呀!你好厉害!");end=clock();time=end-start;//这里的时间是计算机内部时间Word格式..cout<8、4乘4矩阵{inti,j;inta[4]={0};s
8、4乘4矩阵{inti,j;inta[4]={0};s
此文档下载收益归作者所有