www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/20/10:44:34

From: Darren Noble <darren AT calderathin DOT com>
To: djgpp AT delorie DOT com
Subject: Re: What's the command?
Date: Tue, 20 Jul 1999 08:47:39 -0600
X-Mailer: KMail [version 1.0.17]
References: <37968f6b DOT 25139437 AT news DOT enter DOT net>
MIME-Version: 1.0
Message-Id: <99072008482200.00588@dome.calderathin.com>
Reply-To: djgpp AT delorie DOT com

On Mon, 19 Jul 1999, you wrote:
> On Sat, 17 Jul 1999 18:21:56 +0100, "Burger Rule"
> <burger_rule AT mailcity DOT com> wrote:
> 
> >Can anyone please tell me what the equivalent of Pascal's "readln" is in
> >C++?
> >
> >Thanx in advance, much appreciated!
> >
> >____________________
> >~>>*=Burger Rule=*<<~
> >---------------------------
> >burger_rule AT mailcity DOT com
> >
> Ummm, not sure but I believe cin.getline() or something like that is
> about the same...  Not exactly, but similar.  Or you could write your
> own using getch()
> 
> Sean

gets() works the same as readln in pascal.

--
CTR

Darren 'The' Noble

- Raw text -


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