This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Need advice on converting programs from Borland C compiler


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]