cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/30/11:33:59

From: Darren Noble <darren AT lineo DOT com>
To: djgpp AT delorie DOT com
Subject: Re: What's the command?
Date: Fri, 30 Jul 1999 08:28:32 -0600
X-Mailer: KMail [version 1.0.17]
References: <3798AD13 DOT A4FACD03 AT home DOT com>
MIME-Version: 1.0
Message-Id: <99073008293100.00594@dome.calderathin.com>
Reply-To: djgpp AT delorie DOT com

gets(); gets a string.  I think it's in conio.h

char string[256];

gets(string);

On Fri, 23 Jul 1999, you wrote:
> scanf();?
> 
> Sean 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
--
Linux Rules

Darren 'The' Noble

- Raw text -


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