F
Fred
I have a String of bits -- "101011". I want to extract each bit in the
string as a char and then use each extracted char in multiplication.
The extraction part is easy (I think).
How can I convert each char to an int so that I can use it for
multiplication?
Thanks.
string as a char and then use each extracted char in multiplication.
The extraction part is easy (I think).
How can I convert each char to an int so that I can use it for
multiplication?
Thanks.