delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
From: | Thomas Hansen <thomas DOT hansenNOSPAMORILLSUEYOURXXX AT adramatch DOT com> |
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: | <oqir0u4a9g38f26ib6sf7ha94m4oquut3e@4ax.com> |
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 |
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" <mkwahler AT ix DOT netcom DOT com> 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"
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |