⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 real_customer.cpp

📁 基于DEVC++的手机模拟系统
💻 CPP
📖 第 1 页 / 共 2 页
字号:
                                                   else cout<<"选择错!"<<"跳出查找!"<<endl;
                                                   }             
                                            else  cout<<"选择错!"<<"跳出查看电话薄!"<<endl; 
                                     cout<<"请输入您要发送的号码..."<<endl;                                    
                                     cin>>mm;
                                     temp_num[0]=mm;
                                      cout<<"信息传送中,请稍后..."<<endl;
                                      delay(3);
                                      return tempmess;                                                                                                                                                      
                                      }
                            else if(j=='2'){
                                     cout<<"需要查看电话薄吗?y/n"<<endl;
                                     char md;
                                     cin>>md;                                                                          
                                     if(md=='n');                                                                                                                                                           
                                        else if(md=='y'){
                                                  cout<<"电话薄..."<<endl<<"*********************"<<endl; 
                                                  tele_book.out_put();
                                                  cout<<"*********************"<<endl;
                                                   cout<<"查找  y/n?"<<endl;                                                   
                                                   cin>>rr;
                                                   if(rr=='n');                                                                                                                                                                        
                                                        else if(rr=='y'){
                                                                cout<<"请输入您要查找的姓名"<<endl;
                                                                string temp_name;
                                                                 cin>>temp_name;
                                                                tele_book.search(temp_name);
                                                                }
                                                   else cout<<"选择错!"<<"跳出查找!"<<endl;
                                                   }             
                                            else  cout<<"选择错!"<<"跳出查看电话薄!"<<endl; 
                                     cout<<"请输入您要发送的号码..."<<endl;                                     
                                     cin>>mm;
                                     temp_num[0]=mm;
                                     message=tempmess;
                                     cout<<"信息传送中,请稍后..."<<endl;
                                     delay(3);
                                     return tempmess;
                                     }                                                                            
                                  else if(j=='3'){
                                            message=tempmess;
                                        cout<<"保存中..."<<endl;
                                        delay(3);
                                        cout<<"完毕!"<<endl;                                       
                                        return "null";
                                        }                                       
                                  else if(j=='4'){
                                         int rw=0;
                                         while(true){                                                                                                              
                                                  cout<<"编辑清单:.."<<endl;
                                                  for(int i=0;i<10;i++){
                                                          cout<<"["<<i+1<<"]"<<temp_num[i]<<endl;
                                                          }
                                                  cout<<"1-编辑or2-返回;"<<endl;
                                                  char qq;
                                                  cin>>qq;
                                           if(qq=='1'){         
                                                  cout<<"需要查看电话薄吗?y/n"<<endl;
                                                 char ms;
                                                 cin>>ms;                                                                                                  
                                                 if(ms=='n');                                                                                                                                                           
                                                    else if(ms=='y'){
                                                       cout<<"电话薄..."<<endl<<"*********************"<<endl; 
                                                       tele_book.out_put();
                                                       cout<<"*********************"<<endl;
                                                        cout<<"查找  y/n?"<<endl;                                                         
                                                          cin>>rr;
                                                          if(rr=='n');                                                                                                                                                                        
                                                              else if(rr=='y'){
                                                                cout<<"请输入您要查找的姓名"<<endl;
                                                                string temp_name;
                                                                 cin>>temp_name;
                                                                tele_book.search(temp_name);
                                                                }
                                                     else cout<<"选择错!"<<"跳出查找!"<<endl;
                                                     }             
                                                 else  cout<<"选择错!"<<"跳出查看电话薄!"<<endl;
                                                 cout<<"请输入您要发送的号码..."<<endl;                                                 
                                                 cin>>mm;                                                
                                                 temp_num[rw]=mm;
                                                 rw++;                                                 
                                                 }
                                               else if(qq=='2'){
                                                    cout<<"1-发送;2-返回编辑清单;"<<endl;
                                                     char xx;
                                                     cin>>xx;
                                                     if(xx=='1'){
                                                                 cout<<"信息传送中,请稍后..."<<endl;
                                                                 delay(3); 
                                                                 return tempmess;
                                                                 }  
                                                        else if(xx=='2');
                                                          else cout<<"选择错,默认返回编辑清单"<<endl;
                                                          } 
                                               else cout<<"选择错,默认返回编辑清单"<<endl;                                               
                                               }                                                                                                                                                  
                                                  }
                                  else cout<<"选择错! 程序跳出!"<<endl;
                                  }
                                  
                                  
                                  
                                  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -