is there an easy way to convert an ASCII std::string to HEX? I don\'t want to convert it to a number, I only want to convert each ASCII character to it\'s HEX value. The out
This answer to another question does what you want, I think. You'd have to add a " " as separator argument for the ostream_iterator to get whitespaces between the characters.