Im still getting a bazillion compiler warnings and errors when i try and compile it on MSVC.
i changed the #include <dos.h> to <windows.h>, and changed your sleep() calls to Sleep(). that got rid of some of them, but brought in new ones to replace it.
did this compile for you even, on Borland?
and whether it did or didn't, you should really think about getting rid of Borland compiler, in favor of GCC or MSVC. borland was in the trash bin 10 years ago.