If you OS is Windows, you can use the Windows API for it, but you can also use the conio.h include file features, in DOS or Windows, up to the 16 bit code limit. (That is, the 64 bit versions of Windows won't run Turbo C code, without an added emulator that is not standard). I have Windows 7 64 bit, and can't run any Turbo C 16 bit code.
This is a good reason imo, to switch from Turbo C to Pelles C (also free), or one of the other good free C compilers. While most of your Turbo C programs can be recompiled quite easily, (including conio.h code with Pelles C or any compiler that supports that include file), anything special (like your graphics), will be unable to re-compile as is.
Look up the functions in conio.h, in your help file list, and you'll find what you need for the conio.h way. It's right in your help file.