X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: Thomas Hansen Newsgroups: comp.os.msdos.djgpp,comp.lang.c++,alt.comp.lang.learn.c-c++ Subject: Re: More than one letter input Date: Wed, 05 Dec 2001 08:25:01 +0100 Organization: adra match asa Lines: 13 Message-ID: References: <91509768 DOT 0112031721 DOT 1481a4ee AT posting DOT google DOT com> <9uh90f$rd5$1 AT slb4 DOT atl DOT mindspring DOT net> NNTP-Posting-Host: 193.71.234.202 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: oslo-nntp.eunet.no 1007537130 8079 193.71.234.202 (5 Dec 2001 07:25:30 GMT) X-Complaints-To: abuse AT KPNQwest DOT no NNTP-Posting-Date: 5 Dec 2001 07:25:30 GMT X-Newsreader: Forte Agent 1.8/32.553 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Mon, 3 Dec 2001 17:38:54 -0800, there came a drop of sanity from "Mike Wahler" containing: [snip] > std::getline(std::cin, name); [snip] All though this is probably what the OP needed withouth realizing it for himself, it doesn't actually answer the question he asked... This one will give him the whole LINE until the stream spits out a carriage return... -- "FOOT-AND-MOUTH BELIEVED TO BE FIRST VIRUS UNABLE TO SPREAD THROUGH MICROSOFT OUTLOOK"