Mail Archives: djgpp/1999/04/06/19:18:09
Message-ID: | <007801ba0474$0e36cda0$9bf9c6c3@johans-dator>
|
From: | "Johan Henriksson" <johan DOT he AT telia DOT com>
|
To: | <djgpp AT delorie DOT com>
|
Subject: | Re: how to scan an int from the keyboard
|
Date: | Fri, 7 Apr 1995 01:13:35 +0200
|
MIME-Version: | 1.0
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Mailer: | Microsoft Outlook Express 4.72.3110.1
|
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3
|
Reply-To: | djgpp AT delorie DOT com
|
from Johan Henriksson, Sweden HTTP://come.to/jhewok |
Primary mail: johan DOT he AT telia DOT com #UIN 12035895
Second: jhe75 AT hotmail DOT com Third: johan_he AT yahoo DOT com
Leadprogrammer and FX-specialist at Real software
http://come.to/real_software
*************************************************************************
-----Original Message-----
From: Baldus <bioba AT tin DOT it>
Newsgroups: comp.os.msdos.djgpp
To: djgpp AT delorie DOT com <djgpp AT delorie DOT com>
Date: Tuesday, April 06, 1999 8:06 PM
Subject: how to scan an int from the keyboard
>how to scan an int from the keyboard, with allegro and the
>"install_keyboard();" routines installed?
>
>I used to use:
>scanf("%d", x);
>
>But "Once you have set up the Allegro handler, you can no longer use
>DOS/BIOS calls or C library functions to access the keyboard. "...
>...what to do??
Easy! (When you've done it a couple of times). You need to write your own
handler for this. Haven't done this in C yet so I have no code to post :(
>
>thanks.
>
> -------------------------------------
> ** baldus **
> ** bioba AT tin DOT it **
> -------------------------------------
>
>http://space.tin.it/musica/cbalduin
>(Costruisciti un volante di F1 spendendo 40000 lire,
>links a Fifa99, la soluzione di "The Curse of Monkey Island")
>--------------------------------------------------------------
>
>http://www.freeweb.org/computer/baldo/
>(FAQ sulle temperature, Toca & Ignition records)
>-------------------------------------------------------------
>
>
- Raw text -