Thread: A faster ASCII table

  1. #16
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    Quote Originally Posted by cpjust View Post
    Where did the 154 come from? 256 / 2 = 128.
    154-128 = 26, which seems significant.

  2. #17
    Registered User
    Join Date
    Jan 2010
    Posts
    412
    Quote Originally Posted by cpjust View Post
    Where did the 154 come from? 256 / 2 = 128.
    Sorry if I was unclear, I meant 154 unique characters.
    128 + 26 from replacing a-z with A-Z in the upper half.

    Code:
    I was talking about an 8-bit byte, of which ASCII only defines 7 bits, so you've already got a free bit to play with, so why not make use of it?
    Hmm okey I didn't know the standard only defined 7 bits. I thought the 8th bit extension was an accepted addition to the standard. I apologize if I was wrong.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Please help me as fast as possible
    By Xbox999 in forum C Programming
    Replies: 5
    Last Post: 11-30-2009, 06:53 PM
  2. help with structs and malloc!
    By coni in forum C Programming
    Replies: 20
    Last Post: 09-14-2009, 05:38 PM
  3. Writing array, to file
    By zootreeves in forum C Programming
    Replies: 9
    Last Post: 09-08-2007, 05:06 PM
  4. ASCII Table
    By peckitt99 in forum C Programming
    Replies: 21
    Last Post: 10-09-2006, 01:53 AM
  5. ASCII table going crazy?
    By Jamsan in forum Windows Programming
    Replies: 19
    Last Post: 03-27-2003, 02:33 AM