![]() |
Reading bit and converting to string
Hi
I just learned bitshifts and I was wondering whether it is possible to read bits and to convert them into a string. Regards Jamil |
Re: Reading bit and converting to string
Yes it is.
|
Re: Reading bit and converting to string
How would someone go about doing it?
|
Re: Reading bit and converting to string
Quote:
This takes 12 in dec, 2 is the base to be used (binary) and is then stored in the str array. Code: CPP
|
| All times are GMT +5.5. The time now is 02:27. |