pound sign

This is a discussion on pound sign within the C Programming forums, part of the General Programming Boards category; how do u get a pound sign to display, i keep getting a french u, evenalthought it looks ok in ...

  1. #1
    Unregistered
    Guest

    Question pound sign

    how do u get a pound sign to display, i keep getting a french u, evenalthought it looks ok in vc++

  2. #2
    Registered User C_Coder's Avatar
    Join Date
    Oct 2001
    Posts
    523
    The pound sign has a value of 156 so
    Code:
    putchar(156);
    All spelling mistakes, syntatical errors and stupid comments are intentional.

  3. #3
    Unregistered
    Guest
    is their a way to put that in to a char varible??

  4. #4
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    char pound = 156;

  5. #5
    Registered User C_Coder's Avatar
    Join Date
    Oct 2001
    Posts
    523
    Maybe you would be better to define it.
    #define POUND 156
    *shrugs*
    All spelling mistakes, syntatical errors and stupid comments are intentional.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Sign ' is the same as \' ?
    By George2 in forum C Programming
    Replies: 1
    Last Post: 11-23-2007, 07:32 AM
  2. My own itoa()
    By maxorator in forum C++ Programming
    Replies: 18
    Last Post: 10-15-2006, 12:49 PM
  3. How to ignore the pound sign?
    By ebullient in forum C Programming
    Replies: 5
    Last Post: 12-03-2005, 03:35 AM
  4. Handle on MSN Messenger's Sign In "button"?
    By jmd15 in forum Windows Programming
    Replies: 3
    Last Post: 07-16-2005, 10:28 PM
  5. Sign Up!: The Third Round, both contests
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 54
    Last Post: 07-20-2002, 06:46 PM

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