Category : Files from Magazines
Archive   : APR91.ZIP
Filename : 2N04019A

 
Output of file : 2N04019A contained in archive : APR91.ZIP
/*
* KEYS.C Copyright (C) 1990 by Mark R. Nelson
*
* This routine is used to read a character or extended character
* in from the keyboard. It returns immediately if no character is
* available, returning a -1 to indicate no key. A few of the
* extended key codes are defined in KEYS.H
*/
#include

int getkey()
{
int c;

if ( !kbhit())
return( -1 );
c = getch();
if ( c != 0 )
return( c );
else
return( getch() << 8 );
}



  3 Responses to “Category : Files from Magazines
Archive   : APR91.ZIP
Filename : 2N04019A

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/