www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/17/16:49:02

From: bowes AT mail DOT cgocable DOT net
Message-Id: <199804172047.QAA05722@mail.cgocable.net>
To: djgpp AT delorie DOT com
Date: Fri, 17 Apr 1998 16:46:26 +0000
MIME-Version: 1.0
Subject: Re: cin>> question
In-reply-to: <C145F08D0661D1119F7000805F31E8F01A9EC7@CRESTONE>

> Is there any way to adjust the iostreams so that I can get a character
> array that has a space in it such as a date with cin>> or do I have to
> just use gets()??

You could use cin.get(variable); or cin.getline(variable);

- Raw text -


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