My photo
Bangalore, Karnataka, India
Extending one hand to help someone has more value rather than joining two hands for prayer

Archives

program of loading 2

Tuesday, September 1, 2009

#include<iostream.h>
#include<conio.h>
void diley();
void line();
void mov();
void sp10();
void sp20();
void sp30();
void sp40();
void sp50();
void load();
void stop();
void main()
{
for(int u=0;u<10;u++)
 {
 load();
 line();
 mov();
 diley();
 clrscr();
 load();
 line();
 sp10();
 mov();
 diley();
 clrscr();
 load();
 line();
 sp20();
 mov();
 diley();
 clrscr();
 load();
 line();
 sp30();
 mov();
 diley();
 clrscr();
 load();
 line();
 sp40();
 mov();
 diley();
 clrscr();
 load();
 line();
 sp50();
 mov();
 diley();
 clrscr();
 }

 }

void diley()
{for(double m=0;m<20000000;m++)
{}
}
void line()
{  for(int k=0;k<25;k++)
  cout<<"_";
  cout<<endl;
  cout<<"                 ";    }
void sp10()
{  for( int l=0;l<5;l++)
   cout<<" ";
 }
void sp20()
{  for( int l=0;l<10;l++)
   cout<<" ";
 }
void sp30()
{  for( int l=0;l<15;l++)
   cout<<" ";
 }
void sp40()
{  for( int l=0;l<20;l++)
   cout<<" ";
 }
void sp50()
{  for( int l=0;l<25;l++)
   cout<<" ";
 }
 void mov()
 { cout<<"|";
 }
 void load()
 {   cout<<endl<<endl<<endl<<endl<<endl;
     cout<<"               loading your persional setting"<<endl<<endl;
     cout<<"                  ";
  }
 void stop()
 {cout<<"your project is opened";
  getch();
 }

0 comments: