Need advice on converting programs from Borland C compiler

Eljay Love-Jensen eljay@adobe.com
Fri Jun 11 14:43:00 GMT 2004


Hi Dave,

What you want is the library called "ncurses".

There are analogous functions between ncurses and Borland's console 
interface library.  But they are not identical in use and initialization.

You might be able to make your own shim layer (functions called "cprintf" 
and "gotoxy" and such) which map to ncurses functions.

If I remember correctly, ncurses either includes or has available a C++ 
wrapper to facilitate using ncurses.  You may want to refactor your code to 
use the C++ wrappers.

See: http://www.gnu.org/software/ncurses/ncurses.html

Good luck,
--Eljay



More information about the Gcc-help mailing list