[EMAIL PROTECTED] wrote:
> i did not started new topic and i asked to clear it please tell how to clear
> it
> 
> On 7/7/07, Thomas Hruska <[EMAIL PROTECTED]> wrote:
>> [EMAIL PROTECTED] <mail.mastermind%40gmail.com> wrote:
>>> hey please tell how to clear a stream once data is written on it i am
>> using
>>> gcc 3.0 in xp2 on a amd pc.
>> Change the subject when starting a new subject.
>>
>> Anyway, solution: Don't write to the stream in the first place. If you
>> think you will need to wipe the data you plan on writing, cache it in
>> memory first. Only when you are 100% sure you need to send the data to
>> the stream do you actually write the data to the stream.
>>
>> --
>> Thomas Hruska
>> CubicleSoft President
>> Ph: 517-803-4197
>>
>> *NEW* MyTaskFocus 1.1
>> Get on task. Stay on task.
>>
>> http://www.CubicleSoft.com/MyTaskFocus/

You can't.  At least there is no ANSI Standard way of doing it (unless 
you mean fflush(stdout) or cout.flush()?).

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* MyTaskFocus 1.1
Get on task.  Stay on task.

http://www.CubicleSoft.com/MyTaskFocus/

Reply via email to