How to convert char to an array of bits in c++?
<p>I need to get each Character of a string as a sequence of bits either in an array or just traverse over it in a loop, either way works. This is something I used to do in ASM way back, and am not sure how that can be done in c++.</p>

<p>EDIT: I am trying to replicate what I did sometime back with asm, reading a file in memory and traversing it bit by bit, manipulate each bit, do some more cyphering and save it back.</p>

<p>Basically a simple Encryption. Its not a homework neither it is a project.</p>
