On 7/3/07, hb_abid <[EMAIL PROTECTED]> wrote:
> > how we can clear std outstreams
> >
>
> 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);
> }
You are assuming the original poster has Turbo C++, which he may or
may not. Regardless, the functions in conio.h are NOT standard C or
C++ and are particular to a very outdated compiler.
-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
If I were to divulge it, it would overturn the world."
-- Jelaleddin Rumi