This is the mail archive of the
mailing list for the GCC project.
Re: Need advice on converting programs from Borland C compiler
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: "David J. Stelte" <stelte at comcast dot net>, gcc-help at gcc dot gnu dot org
- Date: Fri, 11 Jun 2004 09:42:40 -0500
- Subject: Re: Need advice on converting programs from Borland C compiler
- References: <40C9BF40.email@example.com>
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.