Binary,Hexadecimal to Text
I am pretty new to C++ and have been known to be a bit of an idiot...anyway.
I am trying to write a simple dos based program to convert normal text to hex or binary and visa versa.
Basically I want to be able to input text and convert it to hex/bin or input hex/bin and convert it to text.
However I am at a loss of an short way to do this without typing out the ASCII character code chart..
I was thinking i would need to store the values in an array but i haven't yet mastered this either.
So I guess I am asking is there a simple way to do this ? I am not asking you to write the program for me just give me some direction as to how to do it....
(sorry if this has been posted a billion times before I searched but didn't find what I wanted.)