Mail Archives: djgpp/1999/04/06/12:47:20
| From: | Baldus<bioba AT tin DOT it>
|
| Newsgroups: | comp.os.msdos.djgpp
|
| Subject: | how to scan an int from the keyboard
|
| Date: | Tue, 06 Apr 1999 15:26:26 GMT
|
| Organization: | TIN
|
| Lines: | 25
|
| Message-ID: | <370a258c.20926573@news.tin.it>
|
| NNTP-Posting-Host: | a-pv5-49.tin.it
|
| Mime-Version: | 1.0
|
| X-Newsreader: | Forte Agent 1.5/32.451
|
| To: | djgpp AT delorie DOT com
|
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
| Reply-To: | djgpp AT delorie DOT com
|
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??
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 -