版本比较
计算器
正文
增加 28 行删除 28 行
92 行未改动939495969797989910010165 行未改动16716816917017117117217317417513 行未改动18919019119219319319419519619719819920020120220320320420520620720820921021121221221321421521629 行未改动24624724824925025025125225325429 行未改动28428528628728828828929029129229 行未改动32232332432532632632732832933029 行未改动36036136236336436436536636736829 行未改动39839940040140240240340440540639 行未改动446447448449450450451452453454241 行未改动全部展开69669769869970070070170270270370470570670670770870870971071071171271371440 行未改动75575675775875975976076176176276376476576576676776776876976977077177277347 行未改动82182282382482582582682782782882983083183183283383383483583583683783883915 行未改动85585685785885985986086186286322 行未改动88688788888989089089189289389444 行未改动92 行未改动 cnm(); I am Barry } switch(ys){ case 1: case 1: switch(h[0]){ case 'B': zzxx(); break;65 行未改动 case '0': break; default: cnm(); c='0'; c='0'; break; } break; case 2:13 行未改动 case '0': break; } break; } } } break; case '1': gjjy(); break; case '0': break; default: cnm(); c='0'; c='0'; break; } } I am Barry}
void zhuye(){ system("cls"); system("title 计算器"); system("title 计算器"); cout<<" ************************************** "<<endl; cout<<" | |"<<endl; cout<<" | 计算器 |"<<endl; cout<<" | 输入+:加法运算 输入-:减法运算 |"<<endl;29 行未改动void jiafa(){ ld a,b; string f; system("cls"); system("title 加法运算"); system("title 加法运算"); cout<<" ************************************** "<<endl; cout<<" | |"<<endl; cout<<" | 加 法 |"<<endl; cout<<" | 运算完毕后 |"<<endl;29 行未改动void jianfa(){ ld a,b; string f; system("cls"); system("title 减法运算"); system("title 减法运算"); cout<<" ************************************** "<<endl; cout<<" | |"<<endl; cout<<" | 减 法 |"<<endl; cout<<" | 运算完毕后 |"<<endl;29 行未改动void chengfa(){ ld a,b; string f; system("cls"); system("title 乘法运算"); system("title 乘法运算"); cout<<" ************************************** "<<endl; cout<<" | |"<<endl; cout<<" | 乘 法 |"<<endl; cout<<" | 运算完毕后 |"<<endl;29 行未改动void chufa(){ ld a,b; string f; system("cls"); system("title 除法运算"); system("title 除法运算"); cout<<" ************************************** "<<endl; cout<<" | |"<<endl; cout<<" | 除 法 |"<<endl; cout<<" | 运算完毕后 |"<<endl;29 行未改动void gdgn(int y){ system("cls"); system("title 更多功能"); switch(y){ case 1: case 1: cout<<" ************************************** "<<endl; cout<<" | |"<<endl; cout<<" | 更多功能 |"<<endl; cout<<" | 输入B:作者信息 |"<<endl;39 行未改动 cout<<" ************************************** "<<endl; say("输入控制指令:"); string s; cin>>s; if(s=="LG") if(s=="LG") system("start https://www.luogu.com.cn/user/1048589"); else if(s=="BL") system("start https://space.bilibili.com/341376909"); else if(s=="NK")241 行未改动全部展开 m/=x; } cout<<n; Sleep(50); cout<<"在"; cout<<"在"; Sleep(50); cout<<x; cout<<x; Sleep(50); cout<<"进"; Sleep(50); cout<<"制"; cout<<"制"; Sleep(50); cout<<"下"; cout<<"下"; Sleep(50); cout<<"为"<<endl; cout<<"为"<<endl; Sleep(50); while(!s.empty()){ cout<<s.top(); s.pop();40 行未改动 else ans=ans*n+s[i]-'A'+10; cout<<s; Sleep(50); cout<<"在"; cout<<"在"; Sleep(50); cout<<"十"; cout<<"十"; Sleep(50); cout<<"进"; Sleep(50); cout<<"制"; cout<<"制"; Sleep(50); cout<<"下"; cout<<"下"; Sleep(50); cout<<"为"<<endl; cout<<"为"<<endl; Sleep(50); cout<<ans<<endl; say("输入控制指令:"); cin>>f;47 行未改动 e/=m; } cout<<a; Sleep(50); cout<<"在"; cout<<"在"; Sleep(50); cout<<m; cout<<m; Sleep(50); cout<<"进"; Sleep(50); cout<<"制"; cout<<"制"; Sleep(50); cout<<"下"; cout<<"下"; Sleep(50); cout<<"为"<<endl; cout<<"为"<<endl; Sleep(50); while(!s.empty()){ cout<<s.top(); s.pop();15 行未改动 HBX}
void xx(){ string s; string s; system("cls"); system("title 学习"); cout<<" ************************************** "<<endl; cout<<" | |"<<endl;22 行未改动 HBX}
void wan(){ string s; string s; system("cls"); system("title 玩"); cout<<" ************************************** "<<endl; cout<<" | |"<<endl;44 行未改动