--- In [email protected], "Shishir Sharma" <[EMAIL PROTECTED]>
wrote:
>
> how we can clear std outstreams
>


hi .........

you can do it by using function in <conio.h>
which is named clrscr()

example:

   #include <iostream.h>
   #include <conio.h>
   
   void main()
   {
     int i,j,sum;
     cout<<"enter two numbers to know the sum of there addition\n";
     cin>>i>>j;
     clrscr();
     cout<<"the sum = "<<(i+j);
   }
 

Reply via email to