From: "bowman" Newsgroups: comp.os.msdos.djgpp References: <37252A95 DOT 5894 AT arcticmail DOT com> Subject: Re: Challenge for C++ programmers: Lines: 13 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Message-ID: Date: Mon, 26 Apr 1999 20:55:30 -0600 NNTP-Posting-Host: 208.4.224.165 X-Trace: newsfeed.slurp.net 925181770 208.4.224.165 (Mon, 26 Apr 1999 21:56:10 CDT) NNTP-Posting-Date: Mon, 26 Apr 1999 21:56:10 CDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Nick J Chackowsky wrote in message news:37252A95 DOT 5894 AT arcticmail DOT com... > I have Stroustrup v.3, can't find the two-line reference. Can you post > it or give me a chapter/page? Thanks. It is on page 647, and makes use of in_avail(). It is mentioned in passing, and I think it needs a little more work to actual function like getch(). To further complicate matters, I have the 5th printing, and I think the rdbuf().in_avail() needs to be rdbuf()->in_avail().