Thread: How to make a menu with this appareance?

  1. #1
    Registered User
    Join Date
    May 2017
    Posts
    101

    How to make a menu with this appareance?

    I know how to make a menu but I need something with a similar appearance to this:

    http://www.codewithc.com/wp-content/...4/04/menu1.png

    Thanks in advance

    Edited: What I don't know how to do is the box, the vertical lines.
    Last edited by JorgeChemE; 06-04-2017 at 02:07 AM.

  2. #2
    Registered User
    Join Date
    Nov 2012
    Posts
    1,393
    If you want to use a library you should look at NCurses or PDCurses, both freely available. The Curses API has functions called "box" and "border" for drawing such lines, as well as a lot more functions for programming interactive text-based GUIs like this.

    If you want to write it yourself without a library, look at the so-called "extended ASCII" line drawing characters. If you output the right character codes for your terminal at the proper positions, those line drawing characters will appear where you ask them to.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. So I'm trying to make menu using do - while
    By YaZao in forum C Programming
    Replies: 4
    Last Post: 09-16-2015, 08:19 AM
  2. How to make a menu on C? DOS
    By luisvalencia in forum C Programming
    Replies: 19
    Last Post: 04-10-2005, 09:31 PM
  3. How do I make a Window Menu?
    By Gamemaniac in forum Windows Programming
    Replies: 7
    Last Post: 02-28-2005, 11:23 AM
  4. How to make a right-click menu ?
    By skywing in forum C++ Programming
    Replies: 4
    Last Post: 01-14-2005, 03:32 PM
  5. Trying to make a menu screen
    By circle in forum C Programming
    Replies: 0
    Last Post: 12-07-2004, 06:06 AM

Tags for this Thread