| delorie.com/archives/browse.cgi | search |
| Message-Id: | <199801271934.IAA29780@cirrostratus.netaccess.co.nz> |
| Comments: | Authenticated sender is <chapmic5 AT pop3 DOT netaccess DOT co DOT nz> |
| From: | "Richard Chappell" <chapmic5 AT cirrostratus DOT netaccess DOT co DOT nz> |
| To: | mcfscomp AT millnet DOT net |
| Date: | Wed, 28 Jan 1998 07:26:54 +0000 |
| MIME-Version: | 1.0 |
| Subject: | Re: readkey() |
| Reply-to: | Pixnaps AT netaccess DOT co DOT nz |
| CC: | djgpp AT delorie DOT com |
| In-reply-to: | <34CD2F30.65C7@usa.net> |
> From: Kharis Knightwind <kknightwind AT usa DOT net>
> Subject: readkey()
> Date: Mon, 26 Jan 1998 18:49:52 -0600
> Organization: FFML
> Reply-to: mcfscomp AT millnet DOT net
> To: djgpp AT delorie DOT com
> Hmm well I was messing around with the allegro readkey command and it
> gave me this starnge errorhere is the code.
>
> {
> int allegro_init();
> int install_keyboard();
>
> printf("think I got it.\n");
> int readkey();
> return(0);
> }
>
> and when its compiling Rhide says there is a parse error before int in
> the readkey line...yet if I place that line somewhere else it doesnt say
> anything..plus it doesnt work...just wonderin.
Why do you write "int allegro_init();" rather than just
"allegro_init();" ??
same with install_keyboard(); and readkey();
????
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |