Message-Id: <199801271934.IAA29780@cirrostratus.netaccess.co.nz> Comments: Authenticated sender is From: "Richard Chappell" To: mcfscomp AT millnet DOT net Date: Wed, 28 Jan 1998 07:26:54 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT 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> Precedence: bulk > From: Kharis Knightwind > 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(); ????