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++.
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.
Basically a simple Encryption. Its not a homework neither it is a project.
std::bitsethas a constructor that acceptsstd::string.