delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/08/05:30:31

From: "David Grant" <dgrant79 AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Getting characters from keyboard without CR
Date: Sun, 8 Oct 2000 02:20:01 -0700
Lines: 7
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 32.102.134.199
Message-ID: <39e03e07_4@news1.prserv.net>
X-Trace: 8 Oct 2000 09:27:35 GMT, 32.102.134.199
Organization: Global Network Services - Remote Access Mail & News Services
X-Complaints-To: abuse AT prserv DOT net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Can anyone tell me how to get a character from the screen (I mean keyboard)
without requiring a carriage return?  cin won't work, and neither will
"&istream get(char c)" funtion.  Thanks.  Sorry I know this is not really
related to DJGPP, but that's the compiler I'm using, and I like this
newsgroup.


- Raw text -


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