|
-
Dec 21st, 2000, 03:30 PM
#1
Thread Starter
Frenzied Member
I can convert binary to any number system and any number system to binary, but how do I make letters (matt gates has it in his signature) would I just use ASCII values?
-
Dec 21st, 2000, 04:03 PM
#2
transcendental analytic
What do you mean letter? You type "A" on the keyboard and voila! you made a letter.
OK, one moment, i'll check Matts signature.
Oooh those letter! Well number 0 is chr(48) and 1 is chr(49)
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Dec 21st, 2000, 06:07 PM
#3
Thread Starter
Frenzied Member
No binary...for instance 101 = 9 (i think )
-
Dec 21st, 2000, 06:46 PM
#4
Monday Morning Lunatic
Yeah, it's the ASCII values of the letters.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Dec 21st, 2000, 07:14 PM
#5
transcendental analytic
Cool ascii graphics in your signature parksie!
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Dec 21st, 2000, 07:20 PM
#6
Monday Morning Lunatic
Thank you
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Dec 21st, 2000, 09:05 PM
#7
Frenzied Member
for any number from 0-9 in binary add 110000 (48 or 0x30) to the binary number to get the ascii character.
If it wasn't for this sentence I wouldn't have a signature at all.
-
Dec 21st, 2000, 10:52 PM
#8
Thread Starter
Frenzied Member
thanks guys
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|