so if I give my string as "foo".. it gives me binary string as 01100110 01101111 01101111
Now, I need to convert this binary number to ascii value. How do I do this ?
Well, your first step, as it always is with programming, is to figure out how you would do this "manually", without Java. What are the small, simple, precise steps?
I am right now in a hurry, i need to complete something asap.
That is not the concern of anybody here, and mentioning it will tend to drive people away, so please EaseUp.(⇐click)
Will you be able to help me out with code ?
I could, but I won't. This site is NotACodeMill.(⇐click) Giving you code doesn't help you learn, and it's unethical for somebody else to do work that is your responsibility.
J amodi wrote:Ok. Fine, could you tell me what are the steps to convert ?
So, if you see 01100110, you have no idea how to turn that into 'f'? That is, even if somebody just gives you "01100110", you have no idea what to do with it?
Paddy spent all of his days in the O'Furniture back yard with this tiny ad: