Windows and ncurses

Jul 16, 2012 at 9:42pm
I am creating a text game using c++ and ncurses.

Is there anyway to get ncurses to work on windows or a similar component that at least can capture text and print text in color on the command line.
Jul 16, 2012 at 10:06pm
I'll suggest a similar component, and although it may seem like over-kill I think you'll be happier once you realize you're just another step or two away from adding actual graphics. http://www.sfml-dev.org/ the sf::Text class will give you most of what you need to make a CYOA text game. I suggest going with SFML 2.0, don't worry about there not being a tutorial just read the documentation and you should be able to pick it up. If you do get stuck just remember to come back here for help.
Jul 16, 2012 at 11:58pm
...but that is not what he asked. He is already using NCurses for his framework.

On nixen, use NCurses.
On Windows, use PDCurses.
http://pdcurses.sourceforge.net/

If you are using the GNU compiler toolchain (MinGW), download and unpack the appropriate library version directly from the MinGW downloads page. This should be it:
http://sourceforge.net/projects/mingw/files/MinGW/Contributed/PDCurses/

Good luck!
Last edited on Jul 16, 2012 at 11:58pm
Jul 17, 2012 at 12:00am
I saw "or similar component" and thought of SFML. My bad.
Topic archived. No new replies allowed.