~"Source code of "Ball Screen Sever"~


 

output will show to click this link:



 
 
#include<graphics.h>
#include<stdio.h>
#include<conio.h>
#include<dos.h>
#include<math.h>
void main(){
   int gd=DETECT,gm,o,i,x,j,k=1;
   initgraph(&gd,&gm,"c:tcbgi");
     settextstyle(DEFAULT_FONT, HORIZ_DIR, 2);
      outtextxy(25,240,"Now you will show the moving bubbles");
      outtextxy(210,300,"press any key");
      getch();
      clearviewport();
      outtextxy(25,240,"kya apko new screen saver chahiye ??");
      outtextxy(230,300,"YES");
      outtextxy(400,300,"NO");
      getch();
   while(1)
   {
 if(kbhit())
 break;
   for(j=0;j<10;j+=1, k++)
   {
      setviewport(0,100,470,570,0);
      outtextxy(150,240,"Made by Rahul");
      delay(10);
      for(i=0,x=0,o=0;o<10,i<=210, x<=210; i=i+1,o+=4, x+=2)
      {
      setcolor(k);
       rectangle(0,0,470,470);
      circle(20+i,230-i,20);
 circle(230+i, 20+i,20);
       circle(440-i, 230+i,20);
 circle(230-i, 440-i,20);
     circle(20+o,230,20);
     circle(450-o,230,20);
     circle(230,20+o,20);
     circle(230,450-o,20);
 circle(20+x,230-x,15);
 circle(230+x, 20+x,15);
       circle(440-x, 230+x,15);
 circle(230-x, 440-x,15);
       circle(235-o,235-o,20);
   circle(235+o,235+o,20);
  circle(235+o,235-o,20);
 circle(235-o,235+o,20);
     delay(10);
      setcolor(k);
      outtextxy(150,240,"Made by Rahul");
      delay(10);
      clearviewport();
      if(kbhit())
      break;
      }
    for(i=115,o=0, x=0; i<=210,o<500, x<=210; i+=1,o+=4, x+=2)
    {
 circle(230+i,20+i,20);
 circle(440-i, 230+i,20);
 circle(230-i, 440-i,20);
 circle(20+i, 230-i,20);
     circle(20+o,230,20);
     circle(450-o,230,20);
 circle(20+x,230-x,15);
     circle(235-o,235-o,20);
   circle(235+o,235+o,20);
  circle(235+o,235-o,20);
 circle(235-o,235+o,20);
 circle(230+x, 20+x,15);
       circle(440-x, 230+x,15);
 circle(230-x, 440-x,15);
  circle(230,20+o,20);
     circle(230,450-o,20);
  setcolor(k);
       rectangle(0,0,470,470);
 delay(10);
      setcolor(k);
      outtextxy(150,240,"Made by Rahul");
      delay(10);
 clearviewport();
 if(kbhit())
 break;
    }
    for(i=0,o=0, x=0; i<210,o<500, x<210; i++,o+=4, x+=2)
    {
 circle(440-i,230+i,20);
 circle(230-i, 440-i,20);
 circle(20+i, 230-i,20);
   circle(230+i,20+i,20);
      circle(20+o,230,20);
      circle(230,20+o,20);
     circle(230,450-o,20);
  circle(235-o,235-o,20);
   circle(235+o,235+o,20);
  circle(235+o,235-o,20);
 circle(235-o,235+o,20);
     circle(450-o,230,20);
   circle(20+x,230-x,15);
 circle(230+x, 20+x,15);
       circle(440-x, 230+x,15);
 circle(230-x, 440-x,15);
  setcolor(k);
       rectangle(0,0,470,470);
 delay(10);
    gotoxy(25,16);
      setcolor(k);
      outtextxy(150,240,"Made by Rahul");
      delay(10);
 clearviewport();
 if(kbhit())
  break;
    }
    for(i=115,o=0, x=0; i<210, x<210,o<500; i++,o+=4, x+=2)
    {
 circle(230-i, 440-i,20);
 circle(20+i, 230-i,20);
 circle(230+i,20+i,20);
 circle(440-i, 230+i,20);
      circle(20+o,230,20);
      circle(230,20+o,20);
  circle(235-o,235-o,20);
   circle(235+o,235+o,20);
  circle(235+o,235-o,20);
 circle(235-o,235+o,20);
     circle(230,450-o,20);
     circle(450-o,230,20);
 circle(20+x,230-x,15);
 circle(230+x, 20+x,15);
       circle(440-x, 230+x,15);
 circle(230-x, 440-x,15);
  setcolor(k);
       rectangle(0,0,470,470);
 delay(10);
    gotoxy(25,16);
      setcolor(k);
      outtextxy(150,240,"Made by Rahul");
      delay(10);
 clearviewport();
 if(kbhit())
 break;
    }
     }        }
      getch();
      }

 
Today, there have been 1807 visitors (4216 hits) on this page!
=> Do you also want a homepage for free? Then click here! <=