Thread: ncurses and windows

  1. #1
    Registered User Swarvy's Avatar
    Join Date
    Apr 2008
    Location
    United Kingdom
    Posts
    195

    Question ncurses and windows

    I wasn't entirely sure where to post this, but I guessed here was the best place, but if not, I apologise.

    Anyway, I was wondering what libraries are there which does the same thing that ncurses does, but for windows instead of Linux? As far as I can tell, it seems to be limited to Linux. I was thinking of doing some work with them.

    According to wikipedia conio.h can be used to create a TUI interfaces, which I do understand using since its member functions are to do with keyboard input, for example kbhit() and getch(), but it doesn't seem to help when it comes to actually making the menus etc, for that (as far as I can tell) you still need to use loops etc and do all that 'the old fashioned way', so in terms of support as far as the graphical element of a TUI goes, there doesn't seem to be any in conio.h. That then makes me ask the question, how much graphical support for TUIs does ncurses provide?

  2. #2
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    pdcurses is like ncurses for windows. http://pdcurses.sourceforge.net/

    Don't use conio.h if you can help it. It's ancient.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  3. #3
    Registered User Swarvy's Avatar
    Join Date
    Apr 2008
    Location
    United Kingdom
    Posts
    195
    Thank you. I will investigate further.

  4. #4
    Registered User guesst's Avatar
    Join Date
    Feb 2008
    Location
    Lehi, UT
    Posts
    179
    I've been using PDCurses with MinGW with Code::Blocks. Works great. I've written two programs and I'll be adding them to my site soon enough.
    Type-ins are back! Visit Cymon's Games at http://www.cymonsgames.com for a new game every week!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How customize Windowing in ncurses lib?
    By intmail in forum Linux Programming
    Replies: 4
    Last Post: 06-29-2009, 05:11 PM
  2. ncurses & windows
    By gavra in forum C Programming
    Replies: 2
    Last Post: 07-22-2008, 09:26 AM
  3. ncurses window problem
    By fronty in forum Linux Programming
    Replies: 3
    Last Post: 09-22-2007, 09:33 AM
  4. ncurses, windows, and colors
    By subflood in forum Linux Programming
    Replies: 2
    Last Post: 08-26-2004, 10:14 AM
  5. Ncurses Windows
    By Karl in forum C Programming
    Replies: 0
    Last Post: 02-20-2004, 03:29 PM