This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: unbuffered input


On Tue, May 21, 2002 at 11:07:49PM +0200, David Rasmussen wrote:
> 
> 1: is what normally happens
> 2: is what I want to happen

Ah, thanks.  Now I understand your question.

In your first message you said you'd tried setbuf, by which I assume you mean

    cin.rdbuf()->pubsetbuf(0,0);

What happened?


Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]