Monthly Archives: October 2014

C++: Outputting a string as hexadecimal characters…

… is easy with the boost format library: Digging the net for examples was not very productive, so I started my own approach: The trick is the “%x” which will output the numerical value (uint)s[i] as hexadecimal value.

Posted in code snippets, Programming | Leave a comment