hb_abid wrote:
> --- 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>
>   
non-standard header
>    #include <conio.h>
>   
non-standard header
>    
>    void main()
>   
non-standard start of the program.... it's int 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);
>    }
>  
>
>
>
> To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>. 
> Yahoo! Groups Links
>
>
>
>
>
>
>   

Reply via email to