Characters to binary... binary to characters
Basically what the title says... I need to be able to convert a string to binary... then convert that to hexadecimal (cout << hex << stringname; works fine for that part, but I can't save the output), and then the ability to change hexadecimal to binary and convert the binary to the original string... basically code and decode it...
I need the part converted from the characters (it has to have letter support) to binary to be a string so it uses hexadecimal for 0 and 1, not for the letters... so the integer data type wouldn't work.
I'm using Microsoft Visual C++ 6.0 as a compiler, and this is for a console application (DOS).
ANY help would be much appreciated!