I try ran a Caro chess program with those two functions and all i get is this: "UNDECLARED IDENTIFIER"...
I've included <conio.h> and <graphic.h> but the errors stay the same...
Can anyone help me with this ? Thanks a lot!!!
Those aren't defined in conio.h (which isn't portable itself.)
And graphics.h is a header for a very old graphics library for 16-bit dos programs. Note that MSVC++ won't have the header file and should produce an error if you try to include it.
The last Borland's C++ IDE for DOS is Borland C++ 3.1 (1992). The last C++ environment which supports BGI is Borland C++ 5.02 (1997), which works under Windows but can compile DOS programs.
BGI was accessible in C/C++ with graphics.lib / graphics.h, and in Pascal with graph module.