[Bug libstdc++/24206] cin.rdbuf->in_avail() always return 0

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Wed Oct 5 00:07:00 GMT 2005



------- Comment #4 from pcarlini at suse dot de  2005-10-05 00:07 -------
PS: in case -buffered- cin is needed, a call:

  std::ios::sync_with_stdio(false);

can be added before any I/O takes place (thus renouncing to char-by-char sync
with "C" stdio, however).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24206



More information about the Gcc-bugs mailing list