c++ Programming Glossary: lut
C++ convert string to hexadecimal and vice versa http://stackoverflow.com/questions/3381614/c-convert-string-to-hexadecimal-and-vice-versa const std string input static const char const lut 0123456789ABCDEF size_t len input.length std string output output.reserve.. 0 i len i const unsigned char c input i output.push_back lut c 4 output.push_back lut c 15 return output #include algorithm.. char c input i output.push_back lut c 4 output.push_back lut c 15 return output #include algorithm #include stdexcept std..
|