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

Archives

importance of getch() & clrscr()

Tuesday, September 1, 2009

#include<iostream.h>
#include<conio.h>
void main()
{
  cout<<"1"<<endl;
  getch();
  clrscr();
  cout<<"2"<<endl;
  getch();
  clrscr();
  cout<<"3"<<endl;
  getch();
  clrscr();
  cout<<"4";
  getch();
  clrscr();
  cout<<"5"<<endl;
  getch();
  clrscr();
  }

0 comments: