Menu program advice

This is a discussion on Menu program advice within the C Programming forums, part of the General Programming Boards category; Wondering if you guys/girls had any advice on tutorials or texts on writing Menus in C (in a nix enviornment). ...

  1. #1
    Ne0
    Ne0 is offline
    Registered User
    Join Date
    Jul 2004
    Posts
    17

    Menu program advice

    Wondering if you guys/girls had any advice on tutorials or texts on writing Menus in C (in a nix enviornment). For example just a simple menu with like 3 options, up/down arrow keys highlight the differ options, and enter takes you to it. If you guys had any examples or knew of any i'd appreciate it, i'm more of a visual learner, but i have no problem with reading a few chapters to find the answer Thanks!

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,590
    Well for adding menus and the like to say a text-mode program, try ncurses
    http://web.cs.mun.ca/~rod/ncurses/ncurses.html
    http://www.tldp.org/HOWTO/NCURSES-Programming-HOWTO/

  3. #3
    Obsessed with C chrismiceli's Avatar
    Join Date
    Jan 2003
    Posts
    501
    ncurses mention that if you combine their library with the menu library, you can make some menus real easily.
    Help populate a c/c++ help irc channel
    server: irc://irc.efnet.net
    channel: #c

  4. #4
    Ne0
    Ne0 is offline
    Registered User
    Join Date
    Jul 2004
    Posts
    17
    Oh nice, never knew about the menu library, thanks a ton

  5. #5
    Ne0
    Ne0 is offline
    Registered User
    Join Date
    Jul 2004
    Posts
    17
    For anyone else looking for this I found the best resource at
    http://www.ibiblio.org/pub/Linux/doc...ming-HOWTO.pdf
    it's a PDF file that is perfect in explaining how to make menus, how it does it, etc...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Checking array for string
    By Ayreon in forum C Programming
    Replies: 87
    Last Post: 03-09-2009, 03:25 PM
  2. Advice on writing a basic encryption program?
    By osiris^ in forum C Programming
    Replies: 2
    Last Post: 09-10-2007, 02:02 PM
  3. opengl program as win API menu item
    By SAMSAM in forum Game Programming
    Replies: 1
    Last Post: 03-03-2003, 06:48 PM
  4. C menu driven program
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 04-25-2002, 08:56 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21