Page 447 - C++
P. 447

{
                       setgraphmode(getgraphmode());
                       setbkcolor(BLUE);
                       back();
                       settextstyle(1,0,9);
                       outtextxy(54,0,"TELEPHONE");
                       settextstyle(1,0,9);
                       outtextxy(180,90,"DIARY");
                       settextstyle(7,0,4);
                       outtextxy(150,300,"MADE BY :- ");
                       settextstyle(4,0,7);
                              getch();
                }
                /*************************************************************/
                int menu()
                {
                       setgraphmode(getgraphmode());
                       int m;
                       setbkcolor(RED);
                       back();
                       settextstyle(7,0,7);
                       outtextxy(1,1," ** MAIN MENU ** ");
                       settextstyle(1,0,2);
                       outtextxy(200,100," 1. CONTACTS");
                       outtextxy(200,150," 2. QUERY ");
                       outtextxy(200,200," 3. SCHEDULE ");
                       outtextxy(200,250," 4. CLOCK ");
                       outtextxy(200,300," 5. CALCULATOR ");
                       outtextxy(200,350," 6. EXIT ");
                       settextstyle(1,0,1);
                       outtextxy(40,380," Enter your choice <1-6>  ___ ");
                       gotoxy(40,25);
                       cin>>m;
                       return m;
                }
                /*************************************************************/
                void back()
                {
                       for(int i=0; i<20; i++)
                       arc(10,25*i,0,200,20);
                       line(630,0,630,479);
                       rectangle(0,0,639,479);
                }
                /*************************************************************/
                void cal_display()
                {
                       gotoxy(10,9);
                       cout<<"ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»";
                       gotoxy(10,10);
                       cout<<"º                               º";
                       gotoxy(10,11);
                       cout<<"º                               º";
                       gotoxy(10,12);
                       cout<<"º                               º";
   442   443   444   445   446   447   448   449   450   451   452