Date: Fri, 23 Jun 2000 16:11:52 +0200 (MET DST) From: pad2369 Message-Id: <200006231411.QAA11491@maggiore.iperbole.bologna.it> To: djgpp AT delorie DOT com, "DeepBlack (Murray Evans)" References: <8ivift$rtv$1 AT lure DOT pipex DOT net> In-Reply-To: <8ivift$rtv$1@lure.pipex.net> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP3 Imap webMail Program 2.0.11 Sender: pad2369 AT iperbole DOT bologna DOT it Subject: Re: Keyboard (?) problems, Allegro............ PLEASE HELP. Reply-To: djgpp AT delorie DOT com "DeepBlack (Murray Evans)" : > My problem is that the program (which follows) does > not seem to > want to read from the keyboard. In fact, after a few > button presses, the > computer starts bleeping at me in an annoyed >manner.... here's the code (it > compiles fine...): > > #include > > #include > #include > > int main() > { [...] > allegro_init; /*load allegro*/ > install_timer; /*allegro timer*/ > install_keyboard; /*allegro keyboard routines */ Here you are not telling the compiler to call the functions, you are saying "take the address of the function... and ignore it!". Try this, instead: allegro_init(); install_timer(); install_keyboard(); ciao Giacomo ----------------------------------------------------- Giacomo Degli Esposti - pad2369 AT iperbole DOT bologna DOT it