D
Dik T. Winter
> Tak-Shing Chan wrote: ....
>
> But the code is not meaningful nor compilable without the getch
> source, and thus nobody here can offer any accurate helpful code
> criticisms or suggestions. Useless postings are off-topic.
The original code is *obviously* OS dependent, it uses an include
file "dpmi.h" that is not defined. So it is only compilable if that
include file is present. I have no idea what OS that is (although
I can take a guess, I can not verify).