If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

ASCII -> Binary Conversion

Hey everybody!
Would anyone mind explaining how to convert ASCII bytes into their Binary form? (without using conversion tables)
The language doesn't actually matter, I'm just looking for the method of conversion.
I've tried googling it but haven't found anything overly helpful.

I see. Most if not all languages have number conversion routines. In your solution you use one of them (% - modulus), which converts a number to it's remainder when divided by another. It's really a matter of how much of the math you want to 'do yourself'.