|
-
Apr 12th, 2000, 11:10 PM
#1
Thread Starter
Registered User
Guys,
I am programming a File Compressor program,
and I am stuck in something.
Do you know how can I teach the computer a new base?
Let's say, I wanna teach the computer a base which is over than 256, let's say, I wanna teach the comp the 1024 Base.
I have just 256 (actually 255) available symbols for the new base digits.
How can I teach the comp the 1024 digits base anyway?
Thanks, Lior, An Israeli Programmer.
-
Apr 12th, 2000, 11:15 PM
#2
Frenzied Member
Maybe use the Chinese alphabet?
Harry.
"From one thing, know ten thousand things."
-
Apr 12th, 2000, 11:23 PM
#3
Thread Starter
Registered User
Dont laugh!
Man....
I am serious! do not make laugh of the topic!
I am really in trouble and I need to solve it.
Just shut up if you dont know how to answer my question.
Thats all, I hope my wish is not too big for ya.
-
Apr 13th, 2000, 12:21 AM
#4
no, seriously
Some computers allow you to use 16-bit language characters, such as japanese.
But the thing is, nobody gives a monkey's about your problem anymore because your such a jerk.
-
Apr 13th, 2000, 12:35 AM
#5
Frenzied Member
*Laughs more*
Hey lighten up!
If you're gonna be just plain rude noone's gonna help you.
(Actually I think there is a guy named noone )
Harry.
"From one thing, know ten thousand things."
-
Apr 13th, 2000, 06:54 PM
#6
Thread Starter
Registered User
Heh?!
Guys,
When should I laugh?! Now?! When exactly?!
-
Apr 13th, 2000, 07:04 PM
#7
Hyperactive Member
yeah
shut up he was having a laugh.. if you want deadly serious people go somewhere else 
and remember - LOL 
buzzwords are the language of fools
-
Apr 13th, 2000, 09:23 PM
#8
Fanatic Member
Ok ok, everybody calm down.
No need to tell people to go away just because they couldn't answer you question, Jesus, taka a valium...
Anyway, Interesting problem, a few more details of what you are trying to do would be helpful!
Actually the Chinese alphabet was a good hint! a 16bit (double byte) system hold 65,000+ digits.
I would assume 10bits for a 1024 digit system, so if you have a clue about C in which everything is held in char arrays, hold everything in int arrays! there's an overhead sure but it means it's expandable up to 16 bit and it's in a nice easy format. you can kill the overhead when you save to disc (for compression)
One chr per Int, (null terminate them like C if it makes them easier to use) build a class and wor with there, data types that don't fit will have to be AND OR or XOR'd to fit the system.
without more details I can't help more... ie do you want to map to fonts, what sort of lookup were you thinking about? the more detailed the question the more detailed the answer
[Edited by Paul282 on 04-14-2000 at 10:26 AM]
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
|