From: Edward Hill 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> NNTP-Posting-Host: pc02372.gmsws.gecm.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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