delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/22/11:06:19

From: Edward Hill <ha AT nochance DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: What's the command?
Date: Thu, 22 Jul 1999 09:24:20 +0100
Organization: GEC-Marconi
Message-ID: <3796D534.541ED37F@nochance.com>
References: <7mqe9a$2mlh$1 AT nnrp01 DOT ops DOT uunet DOT co DOT za> <4psk3.9156$yD2 DOT 21461 AT newsfeeds DOT bigpond DOT com> <JY6l3.41$K_5 DOT 341628 AT news DOT bctel DOT net> <mfwl3.10957$yD2 DOT 24685 AT newsfeeds DOT bigpond DOT com>
NNTP-Posting-Host: pc02372.gmsws.gecm.com
Mime-Version: 1.0
X-Mailer: Mozilla 4.51 [en] (Win95; I)
X-Accept-Language: en
Lines: 17
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Johan Venter wrote:
: 
: >> Look up scanf().
: > That is standard C, wich is best not mixed with C++, its also more
: >difficult to use, as the cin format can be used to read any stream,
and does
: >not require a format string.
: 
: Sorry! I read the original message too quickly and didn't notice the
original poster
: specifically asked for C++.

And you offered a potentially hazardous function that can overrun the
input
buffer.

Ed

- Raw text -


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