delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/26/21:56:00

Date: Mon, 26 Jan 1998 18:54:15 -0800 (PST)
Message-Id: <199801270254.SAA29211@adit.ap.net>
Mime-Version: 1.0
To: riker AT pipcom DOT com, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: readkey() problem

At 06:05  1/26/1998 -0500, Matt Riker wrote:
>Whenever I use readkey() in place of where getch() would normally be, 
>the line that is supposed to be displayed first (ie. "Press any key...") 
>doesn't display until a key is pressed.  Here is an example:
>
>{
>   allegro_init();
>   install_keyboard();
>
>   printf("Hey there!\n");
>   printf("Press any key...");
>   readkey();
>   return 0;
>}
>
>"Hey there!" gets displayed, but "Press any key..." isn't displayed 
>until a key is pressed.  Can anyone help?  Thanks.
Please read FAQ section 9.4, then ask again if you're still confused. :)

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019