Re: C++ and input, it can't be platform specific
From: Jerry Coffin (jcoffin_at_taeus.com)
Date: Thu, 30 Oct 2003 05:42:48 GMT
In article <email@example.com>, firstname.lastname@example.org
[ ... ]
> Yes, but on a system that /does/ have such a thing, the OS very well might
> not do the line-buffering; that might be up to the runtime. (Which was
> David's point, I think.)
Well, there's certainly nothing in the standard that tries to say how
the run-time has to interact with the OS or anything like that -- it
just places (or in this case, doesn't place) certain requirements on
what the implementation as a whole has to be able to provide.
In this case, since it's basically impossible to provide it on some
systems, they didn't require that the implementation provide a way to
read one character at a time.
-- Later, Jerry. The universe is a figment of its own imagination.