Article View: comp.os.msdos.programmer
Article #1159Keyboard input processing -- rolling one's own?
From: Elliot H. Mednick
Date: Mon, 31 Aug 1992 17:09
Date: Mon, 31 Aug 1992 17:09
23 lines
1239 bytes
1239 bytes
In article <BttsIw.4z1@NCoast.ORG> brown@NCoast.ORG writes: > In article <715029154snx@Wellspring.COM> elliot@Wellspring.COM writes: > > > > [...] > > > >Is this possible? > > No, it is not possible. The keyboard is unknown to ANSI C. (Don't post > disagreements until you've read the standard, please.) So there is in > principle no ANSI-standard way to do anything that requires the presence > of a keyboard. > > FWIW, Microsoft C has getch( ); I think most MS-DOS based compilers do. > > This topic (like so many) is well covered by the FAQ list in > comp.lang.c. Here's the relevant excerpt: > > [...] Thanks for the info. Egg on my face for not checking the FAQ, first. I almost _always_ check the FAQ before I post. Almost always. Really. -Elliot
Technical Details
Message-ID:
<715280941snx@Wellspring.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!think.com!unixland!wellspring!elliotReferences:
<BttsIw.4z1@NCoast.ORG>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!unixland!wellspring!elliot From: elliot@Wellspring.COM (Elliot H. Mednick) Newsgroups: comp.os.msdos.programmer Subject: Keyboard input processing -- rolling one's own? Distribution: world Message-ID: <715280941snx@Wellspring.COM> References: <BttsIw.4z1@NCoast.ORG> Date: Mon, 31 Aug 92 17:09:01 GMT Organization: Wellspring Solutions, Sutton, MA. Reply-To: elliot@Wellspring.COM Lines: 23