I'm trying to create a proof-of-concept beginner program that will essentially do this: http://www.asciitohex.com/
However everything I've found on google is for turning numbers into hex, not ASCII. So what is the simplest and most direct way to turn any input text into its hex form?
Will I have to assign each letter that goes cin
a hex value and substitute fir what comes cout
?