Page 435 - C++
P. 435

do
                       {
                       m=menu();                   //main menu
                       restorecrtmode();
                       switch(m)
                       {
                              case 1: cont();
                                      break;
                              case 2: que();
                                      break;
                              case 3: sch();
                                      break;
                              case 4: Clock();
                                      break;
                              case 5: Cal();
                                      break;
                              case 6: cout<<"\nAre you sure?? ";
                                      cin>>r;
                                      if(r=='y'||r=='Y')
                                      {
                                             end();
                                             exit(0);
                                      }
                                      else
                                      break;
                              default: cout<<"\n DATA MISMATCH ";
                       }
                       cout<<"\n Do you want to go back to main menu?? <y/n>";
                       cin>>rep;
                       }while(rep=='y'||rep=='Y');
                       end();
                }
                //************************************************************
                void Contact::CGetdata()
                {
                       char name[30];
                       gotoxy(32,2);
                       cout<<"±±±±±WELCOME±±±±±";
                       cout<<"\n
                ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿"
                ;
                       cout<<"\n       ³  NAME                   ³
                ³";
                       cout<<"\n
                ³ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄijÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄij"
                ;
                       cout<<"\n       ³  FATHER'S NAME          ³
                ³";
                       cout<<"\n
                ³ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄijÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄij"
                ;
                       cout<<"\n       ³  ADDRESS                ³
                ³";
   430   431   432   433   434   435   436   437   438   439   440