thread: Code!
View Single Post
  #19  
01-20-2014, 02:50 PM
Phylum's Avatar
Phylum
No Artificial Colours
 
: Sep 2008
: Rock bottom
: 4,911
Blog Entries: 94
Rep Power: 23
Phylum  (5748)Phylum  (5748)Phylum  (5748)Phylum  (5748)Phylum  (5748)Phylum  (5748)Phylum  (5748)Phylum  (5748)Phylum  (5748)Phylum  (5748)Phylum  (5748)

:
  • Say you have a base-10 number stored as a string. That's a waste of space, as the character values can take 255 values (not including 0/null). Write a function that would convert this string to one with base-255 values stored in each character.
Fuck I had to read that about 10 times before I realised what it was actually asking.

Might have a crack at some of these later if I'm bored enough. Exercises like this are the kind of thing I've missed out on a lot being self-taught. Thanks
Reply With Quote