delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
To: | "valcados NOLASTNAME" <valcados0 AT hotmail DOT com> |
Cc: | cygwin AT cygwin DOT com |
Subject: | Re: some newbie questions about the c++ libraries included in Cygwin... |
References: | <F196Dp7mvjkO22ZhCl800008b97 AT hotmail DOT com> |
From: | Andrew Markebo <flognat AT flognat DOT myip DOT org> |
Date: | 01 Jun 2001 09:19:01 +0200 |
In-Reply-To: | <F196Dp7mvjkO22ZhCl800008b97@hotmail.com> |
Message-ID: | <m31yp4mzve.fsf@localhost.localdomain> |
Lines: | 33 |
User-Agent: | Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
MIME-Version: | 1.0 |
| my 2 questions are... what function to use, and which included header | file to use (assuming this is included in Cygwin) to change the lookup ncurses, a package to move around the cursor set colors and so on. There is one extra thing you need to do (except do #include :-) ) when you compile your program, and it is add -lncurses at the end of the link-command :-) I suppose the homepage of ncurses is http://www.gnu.org/software/ncurses/ncurses.html and hopefully you can find examples and so on around. Oh there are | cursor position? the equivalent to the "locate" command in basic... | the function my textbook uses for this requires a header file only in | an expensive compiler. And, which function/header file to change the | color of the text sent to stdout? Again, the function in my textbook Ncurses does this also. | requires an expensive compiler. I tried looking through the header | files in /cygwin/usr/... but it seemed like they consisted 99% of | declarations and #defines and such, without any actual function(s) in | sight. The 'implementation' lies in the library file you link in when you add -lncurses. Hey there are a libncurses++, sounds like c++-packaging of ncurses, might be interesring also if you are custom to classes and so on. /Andy -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |