home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
msysjour
/
vol07
/
02
/
netbios
/
test.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-02-29
|
229b
|
20 lines
#include <stdio.h>
#include <conio.h>
int main ()
{
int ch;
do {
ch = getch();
putch(ch); putch ('\r'); putch ('\n');
printf("%x\n", ch);
if (ch==0x1b)
printf("Foo\n");
} while (ch != 0x1a);
}