What do you mean binary? You want to print 001001011100101010101010110 type stuff? Or you want to re-encrypt it to a full byte including unprintable chars? Or something else?
Well that depends on how you want to handle the binary string. std::bitset has a to_string() member function, so you could concatenate the strings to one long string. You could also have a std::vector<std::string> to store the binary interpretation of each character. I've given you the code that you asked for, it's up to you how you want to implement it.