delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/17/12:59:19

From: "Matt Firewalker" <arenaproject AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000117133144 DOT 22412R-100000 AT is>
Subject: Re: Problem with cin.get
Lines: 13
X-Newsreader: Microsoft Outlook Express 4.72.3155.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
Message-ID: <HuIg4.51$tl5.147@newsfeed.slurp.net>
Date: Mon, 17 Jan 2000 09:42:59 -0800
NNTP-Posting-Host: 206.170.166.102
X-Trace: newsfeed.slurp.net 948130855 206.170.166.102 (Mon, 17 Jan 2000 11:40:55 CDT)
NNTP-Posting-Date: Mon, 17 Jan 2000 11:40:55 CDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii wrote in message ...
>You forget about buffering: any prompt which doesn't end with a newline
>won't be written unless you fflush the stream.

Interesting... every tutorial I've read and the C++ book I have
(sams...)don't mention buffering anything when using cin.get.  Makes me
wonder about the rest of it.

Thank you very much!

   ~Matt F.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019