[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ncurses on PCs



cuong tran wrote:

>Hi,
>
>
>I am taking C++ and Data Structures courses at San Francisco State and
>most of my programs use ncurses. I understand that ncurses is a package
>of functions in the UNIX library for use in C and C++ programs. Is there
>any way I can download these funtions and use them from my home computer
>( i want ncurses to be run on PC.) because sometime I can't connect to my
>school.  Can I install Linux on my home computer and then compile and run
>C programs using ncuses? And how can I install Linux and Windows on the
>same machine?

ncurses is actually a library of functions for providing limited graphical
support (not limited actually...) to a POSIX environment and is a free
alternative to the UNIX curses library. The Single UNIX specification is
a good reading for curses, and you can use it with ncurses.

Most Linux distros come with ncurses installed, and the development
headers in a separate package (in debian, that would equate to libncurses5-
dev) to be installed. It is usually installed so one can invoke some
ncurses-dependent programs (such as Debian's dselect and the make menuconfig
routine when you reconfigure a kernel prior to compiling it).

Yes, you can compile your own programs and link ncurses-specific routines to
the appropriate header file, as long as you have libncurses-dev installed.

Yes, you can install Linux and the other OS on the same machine. There's
lots of documentations, FAQ and HOWTO's for this task out there in the 'net
and inside your /usr/doc files, or your Linux distro's installer CD-ROM.


Paolo Falcone

__________________________________
www.edsamail.com



Reply to: