delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/02/20:52:06

From: "John" <fubu36 AT stny DOT rr DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: please help
Lines: 9
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Message-ID: <adEv4.12135$W5.133553@typhoon.nyroc.rr.com>
Date: Fri, 03 Mar 2000 01:05:10 GMT
NNTP-Posting-Host: 24.95.139.17
X-Complaints-To: abuse AT stny DOT rr DOT com
X-Trace: typhoon.nyroc.rr.com 952045510 24.95.139.17 (Thu, 02 Mar 2000 20:05:10 EST)
NNTP-Posting-Date: Thu, 02 Mar 2000 20:05:10 EST
Organization: Time Warner Road Runner - Binghamton NY
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

how would i do this in c++
letter = getch();
if (letter == the space key ascii code 32)

how would i check for the ascii value 32?
I know in  pascal it would be if (letter = chr(32))
Thanks


- Raw text -


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