Thread: Need help on Character Sets

  1. #1
    Im a Capricorn vsriharsha's Avatar
    Join Date
    Feb 2002

    Unhappy Need help on Character Sets

    Hello Everyone,
    please tolerate my newbie questions (as Im trying to divorce Microsoft and switch over to Linux). Currently, I've gone through a tutorial on CURSES and wrote a small program to actually implement it.
    I created a new window in it but am facing two problems.

    1. If I use the box(...) function, All I get is a tiny bright block in the top left corner of the window. No other border is visible.

    2. Then I used the wborder(....) function. But to my surprise, I cannot use the extended ASCII characters that I normally used in DOS for drawing borders (single line and double line).

    Can anyone help me out of this situation. I want to draw (or atleast print) single-line and double-line border characters as text in linux. How do I go about it?

    Help everyone you can

  2. #2
    SleepWalker tjohnsson's Avatar
    Join Date
    Apr 2004
    you haven't show any code what you have written,
    but take a look to ...
    .. maybe there's something what helps you through this problem
    and ncurses has constants beginning with ACS_* to implement different kind of
    "graphic" characters.
    Last edited by tjohnsson; 06-08-2004 at 11:43 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using a character array in a switch question.
    By bajanElf in forum C Programming
    Replies: 10
    Last Post: 11-08-2008, 08:06 AM
  2. Replies: 11
    Last Post: 10-07-2008, 06:19 PM
  3. Errors including <windows.h>
    By jw232 in forum Windows Programming
    Replies: 4
    Last Post: 07-29-2008, 01:29 PM
  4. sequential file program
    By needhelpbad in forum C Programming
    Replies: 80
    Last Post: 06-08-2008, 01:04 PM
  5. <string> to LPCSTR? Also, character encoding: UNICODE vs ?
    By Kurisu33 in forum C++ Programming
    Replies: 7
    Last Post: 10-09-2006, 12:48 AM